From 76fcf30c0f275a7c9f9752b1be5cb1d5ba98d9b6 Mon Sep 17 00:00:00 2001 From: Thierry Bastian Date: Thu, 20 May 2010 12:26:11 +0200 Subject: Autotest fix on macosx --- tests/auto/qmenu/tst_qmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v0.12