summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmenu
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-05-20 10:26:11 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-05-20 10:28:41 (GMT)
commit76fcf30c0f275a7c9f9752b1be5cb1d5ba98d9b6 (patch)
tree9161e013970cfdfd497aafad0440c629cf813a98 /tests/auto/qmenu
parentd1d8df1076fe7884056798e1974a299ab9d7684e (diff)
downloadQt-76fcf30c0f275a7c9f9752b1be5cb1d5ba98d9b6.zip
Qt-76fcf30c0f275a7c9f9752b1be5cb1d5ba98d9b6.tar.gz
Qt-76fcf30c0f275a7c9f9752b1be5cb1d5ba98d9b6.tar.bz2
Autotest fix on macosx
Diffstat (limited to 'tests/auto/qmenu')
-rw-r--r--tests/auto/qmenu/tst_qmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmenu/tst_qmenu.cpp b/tests/auto/qmenu/tst_qmenu.cpp
index c8dc516..b6bdb36 100644
--- a/tests/auto/qmenu/tst_qmenu.cpp
+++ b/tests/auto/qmenu/tst_qmenu.cpp
@@ -988,7 +988,7 @@ public:
popup(QPoint());
QTest::qWaitForWindowShown(this);
setActiveAction(dialogActions[index]);
- QTimer::singleShot(0, this, SLOT(checkVisibility()));
+ QTimer::singleShot(500, this, SLOT(checkVisibility()));
QTest::keyClick(this, Qt::Key_Enter); //activation
}