From 78569ded1a6b9b660416bfc1208efecdfb1bdd51 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 23 Oct 2019 13:37:02 +0200 Subject: Fix tst_qquickpopup failure on Windows 7 MinGW Change-Id: I42b6a7050886f795e267893aa5eeaaf7a5841971 Fixes: QTBUG-79370 Reviewed-by: Volker Hilsheimer --- tests/auto/qquickpopup/tst_qquickpopup.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/qquickpopup/tst_qquickpopup.cpp') 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)); -- cgit v1.2.3