diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-22 17:19:51 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-22 17:20:29 (GMT) |
commit | adea8ea0dd70a0a33d07e9ada1d0823b5fc637ac (patch) | |
tree | 585754d17d7dee6a6e371dd15b58a72cefa9c70b /tests/auto/qmenu | |
parent | f5d6022f4ca4af32de2b683dfb9f41173e7c8934 (diff) | |
download | Qt-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.cpp | 1 |
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()); |