aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/controls/data/tst_switchdelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/controls/data/tst_switchdelegate.qml')
-rw-r--r--tests/auto/controls/data/tst_switchdelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/controls/data/tst_switchdelegate.qml b/tests/auto/controls/data/tst_switchdelegate.qml
index ccb2da57..3f591602 100644
--- a/tests/auto/controls/data/tst_switchdelegate.qml
+++ b/tests/auto/controls/data/tst_switchdelegate.qml
@@ -151,7 +151,7 @@ TestCase {
mousePress(control, control.width / 2, control.height / 2, Qt.LeftButton)
compare(control.pressed, true)
verify(spy.success)
- mouseMove(control, control.width * 2, control.height / 2, 0, Qt.LeftButton)
+ mouseMove(control, control.width * 2, control.height / 2, 0)
compare(control.pressed, true)
spy.expectedSequence = [["pressedChanged", { "pressed": false, "checked": false }],
["checkedChanged", { "pressed": false, "checked": true }],
@@ -169,7 +169,7 @@ TestCase {
mousePress(control, control.width / 2, control.height / 2, Qt.LeftButton)
compare(control.pressed, true)
verify(spy.success)
- mouseMove(control, -control.width, control.height / 2, 0, Qt.LeftButton)
+ mouseMove(control, -control.width, control.height / 2, 0)
compare(control.pressed, true)
spy.expectedSequence = [["pressedChanged", { "pressed": false, "checked": true }],
["checkedChanged", { "pressed": false, "checked": false }],