summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-05-10 08:11:18 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-05-10 08:11:18 (GMT)
commita863691765b1788a17a67e826f483b68f0f34066 (patch)
treefc21fdbdbf742e16cf59da9ed996ae47d90a2f7d /tests
parent9b3ece5077a309a3db8678bba71a38b1ab256669 (diff)
downloadQt-a863691765b1788a17a67e826f483b68f0f34066.zip
Qt-a863691765b1788a17a67e826f483b68f0f34066.tar.gz
Qt-a863691765b1788a17a67e826f483b68f0f34066.tar.bz2
Stabilize tst_QDockWidget::taskQTBUG_9758_undockedGeometry
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qdockwidget/tst_qdockwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qdockwidget/tst_qdockwidget.cpp b/tests/auto/qdockwidget/tst_qdockwidget.cpp
index 3ac0ce7..2059101 100644
--- a/tests/auto/qdockwidget/tst_qdockwidget.cpp
+++ b/tests/auto/qdockwidget/tst_qdockwidget.cpp
@@ -890,6 +890,7 @@ void tst_QDockWidget::taskQTBUG_9758_undockedGeometry()
dock1.hide();
dock2.hide();
window.show();
+ QTest::qWaitForWindowShown(&window);
dock1.setFloating(true);
dock1.show();
QTest::qWaitForWindowShown(&dock1);