diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp index de7c528825..84466b92d1 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp @@ -3660,7 +3660,7 @@ void tst_QGraphicsItem::setGroup2() oldSceneTransform = rect->sceneTransform(); rect->setGroup(0); - QCOMPARE(rect->sceneTransform(), oldSceneTransform); + qFuzzyCompare(rect->sceneTransform(), oldSceneTransform); } void tst_QGraphicsItem::nestedGroups() |