diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-13 11:06:03 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-13 11:06:53 (GMT) |
commit | c090e68c25f6c5ffeac33ba81e50147800200b59 (patch) | |
tree | edd95090919a57d7e1076a4c02985065dcf1f3b7 /tests/auto/qdockwidget | |
parent | 7f1cba82a377d79ddb2fd2c40e1782ae9fc125f6 (diff) | |
download | Qt-c090e68c25f6c5ffeac33ba81e50147800200b59.zip Qt-c090e68c25f6c5ffeac33ba81e50147800200b59.tar.gz Qt-c090e68c25f6c5ffeac33ba81e50147800200b59.tar.bz2 |
Fix to autotest of QDockWidget
Mac needs a bit more time to update the widgets when they
are redocked
Diffstat (limited to 'tests/auto/qdockwidget')
-rw-r--r-- | tests/auto/qdockwidget/tst_qdockwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdockwidget/tst_qdockwidget.cpp b/tests/auto/qdockwidget/tst_qdockwidget.cpp index e0548a7..686f62f 100644 --- a/tests/auto/qdockwidget/tst_qdockwidget.cpp +++ b/tests/auto/qdockwidget/tst_qdockwidget.cpp @@ -598,7 +598,7 @@ void tst_QDockWidget::visibilityChanged() QCOMPARE(spy.count(), 0); mw.addDockWidget(Qt::RightDockWidgetArea, &dw2); - qApp->processEvents(); + QTest::qWait(200); QCOMPARE(spy.count(), 1); QCOMPARE(spy.at(0).at(0).toBool(), true); } |