Fix hang in tst_qwidgetaction on Windows.

Increase timer interval.

Change-Id: I2cf40415d356c29ebd753a0e78f43aee474123ca
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint 2012-01-18 16:32:12 +01:00 committed by Qt by Nokia
parent ec550e28d2
commit 57738689cd

View File

@ -368,7 +368,7 @@ void tst_QWidgetAction::popup()
{
QMenu menu;
menu.addAction(&action);
QTimer::singleShot(0, &menu, SLOT(close()));
QTimer::singleShot(100, &menu, SLOT(close()));
menu.exec();
}