aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpainteditem
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/qquickpainteditem
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/qquickpainteditem')
-rw-r--r--tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp b/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
index 8ba27898df..cf579e7951 100644
--- a/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
+++ b/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
@@ -104,7 +104,7 @@ void tst_QQuickPaintedItem::initTestCase()
{
window.resize(320, 240);
window.show();
- QTest::qWaitForWindowShown(&window);
+ QVERIFY(QTest::qWaitForWindowExposed(&window));
}
void tst_QQuickPaintedItem::update()