summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-10 03:16:46 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-10 03:16:46 (GMT)
commit3255c3c51c2f79eab31d1092c7711d315ed759cc (patch)
tree752cc457df170119849ee76ffd3073999a51c080
parent315e82ab77dc9cded070c518b2cbbd0f34bfa0f0 (diff)
downloadQt-3255c3c51c2f79eab31d1092c7711d315ed759cc.zip
Qt-3255c3c51c2f79eab31d1092c7711d315ed759cc.tar.gz
Qt-3255c3c51c2f79eab31d1092c7711d315ed759cc.tar.bz2
Compile.
-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 09b12b8..4c2ecbd 100644
--- a/tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp
+++ b/tests/auto/declarative/qmlgraphicspathview/tst_qmlgraphicspathview.cpp
@@ -268,7 +268,7 @@ void tst_QmlGraphicsPathView::path()
QCOMPARE(obj->startY(), 100.);
QVERIFY(obj->path() != QPainterPath());
- QList<QmlGraphicsPathElement*> *list = static_cast<QList<QmlGraphicsPathElement*> *>(obj->pathElements().data);
+ QList<QmlGraphicsPathElement*> *list = obj->pathElements();
QCOMPARE(list->count(), 5);
QmlGraphicsPathAttribute* attr = qobject_cast<QmlGraphicsPathAttribute*>(list->at(0));