diff options
author | Robert Griebl <robert.griebl@qt.io> | 2022-06-10 12:52:56 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-06-11 09:22:36 +0000 |
commit | 41f72f04beea3eaebefbbe68028940e70c32ec1a (patch) | |
tree | 65bfad7e6f1c85d70bc82cf7747cb1e52dd2c0ff /tests | |
parent | d7a64b2163a00330ddb8d84eb0ab6c4c8261e0e9 (diff) | |
download | qtapplicationmanager-41f72f04beea3eaebefbbe68028940e70c32ec1a.tar.gz |
Fix accidental double-click detection in autotest
Change-Id: I1e490d84774d07dfca4d2f5a8296d841fb499365
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
(cherry picked from commit 810cf1fc7dcb5ca0b6d3bdcc364ce9e3f212f806)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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(); |