diff options
author | jasplin <qt-info@nokia.com> | 2009-06-24 12:20:36 +0200 |
---|---|---|
committer | jasplin <qt-info@nokia.com> | 2009-06-24 12:21:30 +0200 |
commit | 2d0bcd161299db2b01fd9a6427058af1c0d3b407 (patch) | |
tree | 148f45069e118a5bd2639c59c949b32c1801c9c7 /tests | |
parent | 395895085bb78e57aad1acf50b4938e1c872bca7 (diff) | |
download | qt4-tools-2d0bcd161299db2b01fd9a6427058af1c0d3b407.tar.gz |
Save some time.
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qspinbox/tst_qspinbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qspinbox/tst_qspinbox.cpp b/tests/auto/qspinbox/tst_qspinbox.cpp index a3b7979331..d6a208d3ce 100644 --- a/tests/auto/qspinbox/tst_qspinbox.cpp +++ b/tests/auto/qspinbox/tst_qspinbox.cpp @@ -983,20 +983,20 @@ void tst_QSpinBox::sizeHint() // Prefix spinBox->sizeHintRequests = 0; spinBox->setPrefix(QLatin1String("abcdefghij")); - QTest::qWait(100); + qApp->processEvents(); QVERIFY(spinBox->sizeHintRequests > 0); // Suffix spinBox->sizeHintRequests = 0; spinBox->setSuffix(QLatin1String("abcdefghij")); - QTest::qWait(100); + qApp->processEvents(); QVERIFY(spinBox->sizeHintRequests > 0); // Range spinBox->sizeHintRequests = 0; spinBox->setRange(0, 1234567890); spinBox->setValue(spinBox->maximum()); - QTest::qWait(100); + qApp->processEvents(); QVERIFY(spinBox->sizeHintRequests > 0); } |