summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsscene
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-08-19 16:09:47 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-08-19 16:25:46 (GMT)
commitba277e9ce92dc40e648f6c83a7cd9f01dd33b886 (patch)
treece86cb348e3ee3063a3b00f8a1de65f6259d997b /tests/auto/qgraphicsscene
parentd30921f13dc74a3e05a3f29c0c45147823f2a064 (diff)
downloadQt-ba277e9ce92dc40e648f6c83a7cd9f01dd33b886.zip
Qt-ba277e9ce92dc40e648f6c83a7cd9f01dd33b886.tar.gz
Qt-ba277e9ce92dc40e648f6c83a7cd9f01dd33b886.tar.bz2
Fixed autotest compilation issue on solaris
Task-number: QTBUG-12991
Diffstat (limited to 'tests/auto/qgraphicsscene')
-rw-r--r--tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
index 67a41ca..903977c 100644
--- a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
+++ b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
@@ -1491,7 +1491,7 @@ void tst_QGraphicsScene::clear()
scene.setItemIndexMethod(QGraphicsScene::NoIndex);
scene.addItem(firstItem);
scene.addItem(secondItem);
- QCOMPARE(scene.items().at(0), firstItem);
+ QCOMPARE(scene.items().at(0), (QGraphicsItem*)firstItem);
QCOMPARE(scene.items().at(1), secondItem);
ClearTestItem *thirdItem = new ClearTestItem(firstItem);