summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3textbrowser/tst_q3textbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/q3textbrowser/tst_q3textbrowser.cpp')
-rw-r--r--tests/auto/q3textbrowser/tst_q3textbrowser.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/q3textbrowser/tst_q3textbrowser.cpp b/tests/auto/q3textbrowser/tst_q3textbrowser.cpp
index fd67bb0..9a9f55c 100644
--- a/tests/auto/q3textbrowser/tst_q3textbrowser.cpp
+++ b/tests/auto/q3textbrowser/tst_q3textbrowser.cpp
@@ -84,9 +84,7 @@ void tst_Q3TextBrowser::initTestCase()
testWidget->move(QApplication::desktop()->availableGeometry().topLeft()+QPoint(5, 5));
testWidget->show();
-#ifdef Q_WS_X11
- qt_x11_wait_for_window_manager(testWidget);
-#endif
+ QTest::qWaitForWindowShown(testWidget);
qApp->processEvents();
}