diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-17 16:02:57 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-17 16:03:23 (GMT) |
commit | 7813e29760120d8e7ed0b1f4c91767cc809a2623 (patch) | |
tree | 908411499638edcb1a1d4d4249ab6ad1e22832a8 /tests/auto/qitemdelegate/tst_qitemdelegate.cpp | |
parent | 0f0cda626c697fe5244853dbdd14feb0cf81055e (diff) | |
download | Qt-7813e29760120d8e7ed0b1f4c91767cc809a2623.zip Qt-7813e29760120d8e7ed0b1f4c91767cc809a2623.tar.gz Qt-7813e29760120d8e7ed0b1f4c91767cc809a2623.tar.bz2 |
Stabilize test
Diffstat (limited to 'tests/auto/qitemdelegate/tst_qitemdelegate.cpp')
-rw-r--r-- | tests/auto/qitemdelegate/tst_qitemdelegate.cpp | 5 |
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() |