summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-03-19 15:24:41 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-21 17:55:55 +0100
commit70624ed9d6896d5cacd5ae85c6ea3ead0f09ae63 (patch)
tree7378975ed35347e7a4eaaef88c01568dee7b1987 /tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp
parent3cf7b31c4a2964ac4ad7e9e316ed364f96a793af (diff)
QNX: Fix QGraphicsItem autotest
Change-Id: I85b0938e6ebeb9f24e24b51a594c01b74167a177 Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Diffstat (limited to 'tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp')
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp2
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()