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-10 14:31:04 +0000 |
commit | 0d7019e68f6ae6d5fde93f2bcd824d89d089d1a6 (patch) | |
tree | 41dcb610d5abe3e710875a45f96cc4e1c5f3cba3 | |
parent | 93b807e254cd2e1ad69148b57ffc18d721547561 (diff) | |
download | qtapplicationmanager-0d7019e68f6ae6d5fde93f2bcd824d89d089d1a6.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>
-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 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(); |