diff options
author | Robert Griebl <robert.griebl@qt.io> | 2022-06-10 12:52:56 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2022-06-10 14:25:06 +0200 |
commit | 810cf1fc7dcb5ca0b6d3bdcc364ce9e3f212f806 (patch) | |
tree | 125fde541a1723c93418e475819f7dd64095cc29 /tests | |
parent | 838c6e7283fd4695b7b943b329de6bc11646e053 (diff) | |
download | qtapplicationmanager-810cf1fc7dcb5ca0b6d3bdcc364ce9e3f212f806.tar.gz |
Fix accidental double-click detection in autotest
Change-Id: I1e490d84774d07dfca4d2f5a8296d841fb499365
Pick-to: dev 6.3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/windowitem/tst_windowitem.qml | 2 |
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(); |