aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-08-24 11:29:34 +0200
committerMitch Curtis <mitch.curtis@qt.io>2020-08-24 11:38:50 +0200
commit4d76bce10d8f71dd3dc79e30ff947afe866c5041 (patch)
treeb821e31f3d80aa4211718cc308e603e04f98ccba
parent2d0794cbc73a6913bea075804f232c4996d5fc4d (diff)
tst_qquickpopup: fix setOverlayParentToNull test
Use the fix from 1d06eb3f8215b67c5061ee3a076df405724ff7ee. Fixes: QTBUG-86212 Change-Id: I407c56741806340235da81cca943b50cc6e92dd2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-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 d8dac979..714dad78 100644
--- a/tests/auto/qquickpopup/tst_qquickpopup.cpp
+++ b/tests/auto/qquickpopup/tst_qquickpopup.cpp
@@ -1307,6 +1307,8 @@ void tst_QQuickPopup::setOverlayParentToNull()
QVERIFY2(helper.ready, helper.failureMessage());
QQuickWindow *window = helper.window;
+ centerOnScreen(window);
+ moveMouseAway(window);
window->show();
QVERIFY(QTest::qWaitForWindowActive(window));