diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-24 14:29:01 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-25 17:32:21 +0200 |
commit | aaaf60aeab64c4e9189dae6925a89e0b367e3dcf (patch) | |
tree | 6c2f3d4217245c7a61244a62f599206bd59c0a67 /tests/auto/other/qaccessibility | |
parent | ff453fa757c154e9234541c5cda47014a0803538 (diff) |
Remove usage of deprecated qWaitForWindowShown(QWidget *) method.
Remove usages from autotests with the exception of
widgets/kernel, widgets/widgets and widgets/graphicsview.
Change-Id: I917b2857ed0cd07a6b3dbcd69244f558086c6586
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/auto/other/qaccessibility')
-rw-r--r-- | tests/auto/other/qaccessibility/tst_qaccessibility.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index f06fa92ff1..90dc4053e7 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -756,7 +756,7 @@ void tst_QAccessibility::actionTest() { QPushButton *button = new QPushButton; button->show(); - QTest::qWaitForWindowShown(button); + QVERIFY(QTest::qWaitForWindowExposed(button)); button->clearFocus(); QCOMPARE(button->hasFocus(), false); QAccessibleInterface *interface = QAccessible::queryAccessibleInterface(button); @@ -2959,7 +2959,7 @@ void tst_QAccessibility::bridgeTest() lay->addWidget(te); window->show(); - QTest::qWaitForWindowShown(window); + QVERIFY(QTest::qWaitForWindowExposed(window)); /************************************************** |