diff options
Diffstat (limited to 'tests/auto/quick/qquickscreen/tst_qquickscreen.cpp')
-rw-r--r-- | tests/auto/quick/qquickscreen/tst_qquickscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickscreen/tst_qquickscreen.cpp b/tests/auto/quick/qquickscreen/tst_qquickscreen.cpp index cbf9438f24..8ec0ae4e96 100644 --- a/tests/auto/quick/qquickscreen/tst_qquickscreen.cpp +++ b/tests/auto/quick/qquickscreen/tst_qquickscreen.cpp @@ -58,7 +58,7 @@ void tst_qquickscreen::basicProperties() QQuickView view; view.setSource(testFileUrl("screen.qml")); view.show(); - QTest::qWaitForWindowShown(&view); + QVERIFY(QTest::qWaitForWindowExposed(&view)); QQuickItem* root = view.rootObject(); QVERIFY(root); |