aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp')
-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()