aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest/events
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-02-02 18:40:56 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2017-02-02 18:43:20 +0100
commit52d5131ce52ec687d5c35219b8096a2f42f8d557 (patch)
tree4b54b410bbd1efde297e6fee06bdd75809855b8c /tests/auto/qmltest/events
parent9b5fc80af28580e9672792dd511d876a93947882 (diff)
parentb63393c7aac7c337672b87a914cb059f60091584 (diff)
Merge remote-tracking branch 'origin/dev' into wip/pointerhandler
Diffstat (limited to 'tests/auto/qmltest/events')
-rw-r--r--tests/auto/qmltest/events/tst_drag.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qmltest/events/tst_drag.qml b/tests/auto/qmltest/events/tst_drag.qml
index ffdc94167c..ae77247a41 100644
--- a/tests/auto/qmltest/events/tst_drag.qml
+++ b/tests/auto/qmltest/events/tst_drag.qml
@@ -117,9 +117,9 @@ Rectangle{
name:"mouserelease"
when:windowShown
function test_mouseDrag() {
- mouseDrag(container, 10, 10, 20, 30);
- compare(container.x, 20 - util.dragThreshold - 1);
- compare(container.y, 30 - util.dragThreshold - 1);
+ mouseDrag(container, 10, 10, util.dragThreshold * 2, util.dragThreshold * 3);
+ compare(container.x, util.dragThreshold - 1);
+ compare(container.y, util.dragThreshold * 2 - 1);
}
function test_doSomethingWhileDragging() {