summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpushbutton
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2009-08-06 16:57:46 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2009-08-07 09:33:38 +0200
commitc10c20c5fc69ac5f0e406ecdc58d072a846e6743 (patch)
treedf356037446a68dfdb5aa35e64756435462c918e /tests/auto/qpushbutton
parentcfa7d8608283a012887e7ecbe42c50ff56cc153e (diff)
Adding QApplication::processEvents to autotest
Windows CE is sometimes a little bit slow Reviewed-by: Joerg
Diffstat (limited to 'tests/auto/qpushbutton')
-rw-r--r--tests/auto/qpushbutton/tst_qpushbutton.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qpushbutton/tst_qpushbutton.cpp b/tests/auto/qpushbutton/tst_qpushbutton.cpp
index 7a81dbf146..528f3bb4a4 100644
--- a/tests/auto/qpushbutton/tst_qpushbutton.cpp
+++ b/tests/auto/qpushbutton/tst_qpushbutton.cpp
@@ -661,6 +661,7 @@ void tst_QPushButton::sizeHint()
tabWidget->setCurrentWidget(tab2);
tabWidget->setCurrentWidget(tab1);
QTest::qWait(100);
+ QApplication::processEvents();
QCOMPARE(button1_2->size(), button2_2->size());
}