summaryrefslogtreecommitdiff
path: root/tests/auto/qml/windowitem/tst_windowitem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/windowitem/tst_windowitem.qml')
-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 1ad7d319..f3e724ee 100644
--- a/tests/auto/qml/windowitem/tst_windowitem.qml
+++ b/tests/auto/qml/windowitem/tst_windowitem.qml
@@ -451,6 +451,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();