summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-03-17 08:20:14 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-03-17 08:20:14 (GMT)
commited08d67fea713e550da0fd0542672cc4443806e2 (patch)
treeedc0f9be564baf2d503ada0e3e86145526744c38 /tests
parent85e625accb7f55b51e19016313bb204f6f0f835c (diff)
parent7a4f05f89927fd9ca8771550f1405d99e3961c24 (diff)
downloadQt-ed08d67fea713e550da0fd0542672cc4443806e2.zip
Qt-ed08d67fea713e550da0fd0542672cc4443806e2.tar.gz
Qt-ed08d67fea713e550da0fd0542672cc4443806e2.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Display the itemSendScenePositionChange properly when debugging.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
index 4d9f23f..c0ad8bf 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -9767,6 +9767,9 @@ void tst_QGraphicsItem::scenePosChange()
child1->setFlag(QGraphicsItem::ItemSendsScenePositionChanges, true);
grandChild2->setFlag(QGraphicsItem::ItemSendsScenePositionChanges, true);
+ QVERIFY(child1->flags() & QGraphicsItem::ItemSendsScenePositionChanges);
+ QVERIFY(grandChild2->flags() & QGraphicsItem::ItemSendsScenePositionChanges);
+
QGraphicsScene scene;
scene.addItem(root);