summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmenu
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-22 17:19:51 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-22 17:20:29 (GMT)
commitadea8ea0dd70a0a33d07e9ada1d0823b5fc637ac (patch)
tree585754d17d7dee6a6e371dd15b58a72cefa9c70b /tests/auto/qmenu
parentf5d6022f4ca4af32de2b683dfb9f41173e7c8934 (diff)
downloadQt-adea8ea0dd70a0a33d07e9ada1d0823b5fc637ac.zip
Qt-adea8ea0dd70a0a33d07e9ada1d0823b5fc637ac.tar.gz
Qt-adea8ea0dd70a0a33d07e9ada1d0823b5fc637ac.tar.bz2
Stabilize some tests
Diffstat (limited to 'tests/auto/qmenu')
-rw-r--r--tests/auto/qmenu/tst_qmenu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qmenu/tst_qmenu.cpp b/tests/auto/qmenu/tst_qmenu.cpp
index eee5854..a5bac37 100644
--- a/tests/auto/qmenu/tst_qmenu.cpp
+++ b/tests/auto/qmenu/tst_qmenu.cpp
@@ -806,6 +806,7 @@ void tst_QMenu::task258920_mouseBorder()
QAction *action = menu.addAction("test");
menu.popup(QApplication::desktop()->availableGeometry().center());
+ QTest::qWaitForWindowShown(&menu);
QTest::qWait(100);
QRect actionRect = menu.actionGeometry(action);
QTest::mouseMove(&menu, actionRect.center());