diff options
-rw-r--r-- | tests/auto/qquickpopup/tst_qquickpopup.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qquickpopup/tst_qquickpopup.cpp b/tests/auto/qquickpopup/tst_qquickpopup.cpp index 22e6df5d..41955d7d 100644 --- a/tests/auto/qquickpopup/tst_qquickpopup.cpp +++ b/tests/auto/qquickpopup/tst_qquickpopup.cpp @@ -1311,6 +1311,8 @@ void tst_QQuickPopup::setOverlayParentToNull() QVERIFY2(helper.ready, helper.failureMessage()); QQuickWindow *window = helper.window; + centerOnScreen(window); + moveMouseAway(window); window->show(); #ifdef QT_DEBUG QTest::ignoreMessage(QtWarningMsg, "ShaderEffectSource: 'recursive' must be set to true when rendering recursively."); |