summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp')
-rw-r--r--tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
index 3d86c48..9229c7c 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -10054,9 +10054,9 @@ void tst_QGraphicsItem::updateMicroFocus()
QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(&parent));
input.doUpdateMicroFocus();
QApplication::processEvents();
- QCOMPARE(ic.nbUpdates, 1);
+ QTRY_COMPARE(ic.nbUpdates, 1);
//No update since view2 does not have the focus.
- QCOMPARE(ic2.nbUpdates, 0);
+ QTRY_COMPARE(ic2.nbUpdates, 0);
}
void tst_QGraphicsItem::QTBUG_5418_textItemSetDefaultColor()