summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmdiarea
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-01 08:03:26 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-01 08:11:51 (GMT)
commit91b58202c089ea8f4e150717cee8dbc40b8f903c (patch)
treed23fd5c1e0cd38899569f016f516aca15b2c15ec /tests/auto/qmdiarea
parentac36357a8aa2a33491d1c308ade0a63a89a6590e (diff)
downloadQt-91b58202c089ea8f4e150717cee8dbc40b8f903c.zip
Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.tar.gz
Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.tar.bz2
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qmdiarea')
-rw-r--r--tests/auto/qmdiarea/tst_qmdiarea.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qmdiarea/tst_qmdiarea.cpp b/tests/auto/qmdiarea/tst_qmdiarea.cpp
index b110114..725c31e 100644
--- a/tests/auto/qmdiarea/tst_qmdiarea.cpp
+++ b/tests/auto/qmdiarea/tst_qmdiarea.cpp
@@ -468,6 +468,7 @@ void tst_QMdiArea::subWindowActivated2()
#ifdef Q_WS_X11
qt_x11_wait_for_window_manager(&mdiArea);
#endif
+ QTest::qWait(100);
QTRY_COMPARE(spy.count(), 5);
QCOMPARE(mdiArea.activeSubWindow(), mdiArea.subWindowList().back());