diff options
author | jasplin <qt-info@nokia.com> | 2009-06-24 10:20:36 (GMT) |
---|---|---|
committer | jasplin <qt-info@nokia.com> | 2009-06-24 10:21:30 (GMT) |
commit | 2d0bcd161299db2b01fd9a6427058af1c0d3b407 (patch) | |
tree | 148f45069e118a5bd2639c59c949b32c1801c9c7 /tests | |
parent | 395895085bb78e57aad1acf50b4938e1c872bca7 (diff) | |
download | Qt-2d0bcd161299db2b01fd9a6427058af1c0d3b407.zip Qt-2d0bcd161299db2b01fd9a6427058af1c0d3b407.tar.gz Qt-2d0bcd161299db2b01fd9a6427058af1c0d3b407.tar.bz2 |
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 a3b7979..d6a208d 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); } |