diff options
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)); /************************************************** |