summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/windowitem/tst_windowitem.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/windowitem/tst_windowitem.qml b/tests/auto/qml/windowitem/tst_windowitem.qml
index b9f97433..a9de85d7 100644
--- a/tests/auto/qml/windowitem/tst_windowitem.qml
+++ b/tests/auto/qml/windowitem/tst_windowitem.qml
@@ -455,6 +455,8 @@ Item {
windowItem.mouseAreaVisible = true;
+ wait(500) // prevent the next click to be detected as a double-click
+
touchEvent(windowItem).press(0).commit();
touchEvent(windowItem).release(0).commit();