summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-17 16:02:57 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-17 16:03:23 (GMT)
commit7813e29760120d8e7ed0b1f4c91767cc809a2623 (patch)
tree908411499638edcb1a1d4d4249ab6ad1e22832a8 /tests
parent0f0cda626c697fe5244853dbdd14feb0cf81055e (diff)
downloadQt-7813e29760120d8e7ed0b1f4c91767cc809a2623.zip
Qt-7813e29760120d8e7ed0b1f4c91767cc809a2623.tar.gz
Qt-7813e29760120d8e7ed0b1f4c91767cc809a2623.tar.bz2
Stabilize test
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qitemdelegate/tst_qitemdelegate.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp
index dbbbd1c..e6d6df3 100644
--- a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp
+++ b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp
@@ -900,11 +900,8 @@ void tst_QItemDelegate::decoration()
item->setSelected(true);
QApplication::processEvents();
-#ifdef Q_WS_QWS
- QApplication::sendPostedEvents(); //glib workaround
-#endif
- QCOMPARE(delegate.decorationRect.size(), expected);
+ QTRY_COMPARE(delegate.decorationRect.size(), expected);
}
void tst_QItemDelegate::editorEvent_data()