diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-19 14:13:14 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-19 14:37:49 +0200 |
commit | bd618f62d8d796638ee72374a0fcdfd6c6b7aa97 (patch) | |
tree | 708e1e6e1f7b0aefe5d828eb832b6fff24c9af66 /tests/auto/quick/qquickmultipointtoucharea | |
parent | 5480e6c2875d434a3c2264bc50d58cabdd055468 (diff) |
QtDeclarative: Remove usage of deprecated qWaitForWindowShown().
- Replace by qWaitForWindowExposed() or
qWaitForWindowActive() where applicable.
- Use QVERIFY to verify success.
- Stabilize some tests by checking for 'active',
add missing call to show().
Change-Id: I6cae063e44a3839760ed9f61dacb26cd1717118d
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/auto/quick/qquickmultipointtoucharea')
-rw-r--r-- | tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp b/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp index e3795c50f3..ce9b84e3a3 100644 --- a/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp +++ b/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp @@ -851,7 +851,7 @@ QQuickView *tst_QQuickMultiPointTouchArea::createAndShowView(const QString &file window->setSource(testFileUrl(file)); window->show(); window->requestActivateWindow(); - QTest::qWaitForWindowShown(window); + QTest::qWaitForWindowActive(window); return window; } |