summaryrefslogtreecommitdiff
path: root/tests/auto/controls/data/tst_switch.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-07-21 16:24:36 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-07-27 09:02:43 +0000
commitabc2ec74e9131cdae1bf9a458dfe9a2ef46b889c (patch)
tree29686a00d04054c6da420a7e45d1dada0baae6e1 /tests/auto/controls/data/tst_switch.qml
parentfafa3b414d41742be302a09ce866025feb8c962f (diff)
downloadqtquickcontrols-abc2ec74e9131cdae1bf9a458dfe9a2ef46b889c.tar.gz
Remove unused Qt.LeftButton argument to mouseMove() in auto tests.
That parameter is actually delay, so a delay of 1 millisecond was being passed. These were found with: git grep "mouseMove\(.*\, .*\, .*\, Qt.LeftButton\)" Change-Id: I00172dcd457aa4aae12d98421bc95525235c9570 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'tests/auto/controls/data/tst_switch.qml')
-rw-r--r--tests/auto/controls/data/tst_switch.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_switch.qml b/tests/auto/controls/data/tst_switch.qml
index fd929d48..2ab0582b 100644
--- a/tests/auto/controls/data/tst_switch.qml
+++ b/tests/auto/controls/data/tst_switch.qml
@@ -127,7 +127,7 @@ Item {
// release outside -> no clicked()
mousePress(aSwitch, aSwitch.x + 1, aSwitch.y + 1, Qt.LeftButton);
- mouseMove(aSwitch, aSwitch.x - 1, aSwitch.y - 1, Qt.LeftButton);
+ mouseMove(aSwitch, aSwitch.x - 1, aSwitch.y - 1);
mouseRelease(aSwitch, aSwitch.x - 1, aSwitch.y - 1, Qt.LeftButton);
compare(signalSpy.count, 1);
}