summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3textbrowser
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-22 16:56:24 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-22 16:57:11 (GMT)
commitf5d6022f4ca4af32de2b683dfb9f41173e7c8934 (patch)
treef573bdfe72a6bee62372d46e624b118fa26c6558 /tests/auto/q3textbrowser
parent0691350e14632dea6c12a2d37e605dc0628b4ceb (diff)
downloadQt-f5d6022f4ca4af32de2b683dfb9f41173e7c8934.zip
Qt-f5d6022f4ca4af32de2b683dfb9f41173e7c8934.tar.gz
Qt-f5d6022f4ca4af32de2b683dfb9f41173e7c8934.tar.bz2
Stabilize more test
Diffstat (limited to 'tests/auto/q3textbrowser')
-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();
}