aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/particles
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-08-22 11:41:55 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-22 14:21:23 +0200
commitbffd219c599a9feae521dd9a709b2e20663f49ac (patch)
treee1a51c02936fd77d6830f68f3b915bda0ad90f0f /tests/auto/particles
parent26ea8e01e9ee2a8c8c09266147b94c9ac92d09f9 (diff)
Port away from qWaitForWindowShown.
It is deprecated. Change-Id: Icf29b1f5ab6cb06ee7fd375fb96242df7ee3083e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/particles')
-rw-r--r--tests/auto/particles/shared/particlestestsshared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/particles/shared/particlestestsshared.h b/tests/auto/particles/shared/particlestestsshared.h
index 6cd805a64c..f1c7c85140 100644
--- a/tests/auto/particles/shared/particlestestsshared.h
+++ b/tests/auto/particles/shared/particlestestsshared.h
@@ -74,7 +74,7 @@ QQuickView* createView(const QUrl &filename, int additionalWait=0)
if (view->status() != QQuickView::Ready)
return 0;
view->show();
- QTest::qWaitForWindowShown(view);
+ QTest::qWaitForWindowExposed(view);
if (additionalWait)
QTest::qWait(additionalWait);