aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-08-24 11:29:34 +0200
committerJani Heikkinen <jani.heikkinen@qt.io>2020-08-26 07:31:44 +0000
commit49590bd5997bb2942bc2ad183f06b99429025cdc (patch)
tree3aba0538efc3ee4449b0187ed44d3b944dfbd0fc
parent1dd3cd0ada60b3d8316aa330b610e9e18d01b216 (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> (cherry picked from commit 4d76bce10d8f71dd3dc79e30ff947afe866c5041)
-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 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.");