aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-10-23 13:37:02 +0200
committerMitch Curtis <mitch.curtis@qt.io>2019-10-23 13:59:26 +0200
commit78569ded1a6b9b660416bfc1208efecdfb1bdd51 (patch)
tree47d7576213b33fc3a4a12cdabe146f7a132b20c7 /tests
parentda7f7af244e5f1f61ef7060b62b2e5c8d240701f (diff)
Fix tst_qquickpopup failure on Windows 7 MinGW
Change-Id: I42b6a7050886f795e267893aa5eeaaf7a5841971 Fixes: QTBUG-79370 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qquickpopup/tst_qquickpopup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qquickpopup/tst_qquickpopup.cpp b/tests/auto/qquickpopup/tst_qquickpopup.cpp
index 8a8cd143..c36edd6d 100644
--- a/tests/auto/qquickpopup/tst_qquickpopup.cpp
+++ b/tests/auto/qquickpopup/tst_qquickpopup.cpp
@@ -904,6 +904,8 @@ void tst_QQuickPopup::cursorShape()
// which is itself over an item with a different shape.
QQuickApplicationHelper helper(this, QStringLiteral("cursor.qml"));
QQuickApplicationWindow *window = helper.appWindow;
+ centerOnScreen(window);
+ moveMouseAway(window);
window->show();
QVERIFY(QTest::qWaitForWindowExposed(window));