From 7813e29760120d8e7ed0b1f4c91767cc809a2623 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 17 Sep 2009 18:02:57 +0200 Subject: Stabilize test --- tests/auto/qitemdelegate/tst_qitemdelegate.cpp | 5 +---- 1 file changed, 1 insertion(+), 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() -- cgit v0.12