summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-02-09 13:59:00 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-02-09 14:38:31 (GMT)
commit3071bbd9eb9833d19c6dd43b52079b6a8e1722b2 (patch)
tree98eab4676c664c66a72e8cea7058f4b852e6a14a /tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp
parente712ecee850e04084643243a096befbf47e4e8b9 (diff)
downloadQt-3071bbd9eb9833d19c6dd43b52079b6a8e1722b2.zip
Qt-3071bbd9eb9833d19c6dd43b52079b6a8e1722b2.tar.gz
Qt-3071bbd9eb9833d19c6dd43b52079b6a8e1722b2.tar.bz2
Get test compiling
commit d914555badcd4761864657e1e335e657b791453f missed a spot
Diffstat (limited to 'tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp')
-rw-r--r--tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp b/tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp
index c5a0e05..e60ac5c 100644
--- a/tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp
+++ b/tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp
@@ -233,7 +233,7 @@ void tst_QmlGraphicsPathView::path()
QCOMPARE(obj->startY(), 100.);
QVERIFY(obj->path() != QPainterPath());
- QList<QmlGraphicsPathElement*> *list = obj->pathElements();
+ QList<QmlGraphicsPathElement*> *list = static_cast<QList<QmlGraphicsPathElement*> *>(obj->pathElements().data);
QCOMPARE(list->count(), 5);
QmlGraphicsPathAttribute* attr = qobject_cast<QmlGraphicsPathAttribute*>(list->at(0));