aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickscreen
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-07-24 14:56:35 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-24 16:53:08 +0200
commitc20463631ddbb4513bec100c22c74b8a919156a1 (patch)
treea6f9d35185a7deb89e7ef568e4e4dd929f0d6982 /tests/auto/quick/qquickscreen
parent3bb7128fb705fa88ba955ca0ae6bd44fcef8fa4b (diff)
QtQuick: Remove usages of qWaitForWindowShown(QWindow *).
Change-Id: I722e20b2fb8d8c6c19c6f3f2cb16910d7433e9a4 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/auto/quick/qquickscreen')
-rw-r--r--tests/auto/quick/qquickscreen/tst_qquickscreen.cpp2
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);