diff options
Diffstat (limited to 'tests/auto/qtquick2/qdeclarativesmoothedanimation')
-rw-r--r-- | tests/auto/qtquick2/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtquick2/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp b/tests/auto/qtquick2/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp index f60955c58e..3d37517d10 100644 --- a/tests/auto/qtquick2/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp +++ b/tests/auto/qtquick2/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp @@ -131,7 +131,7 @@ void tst_qdeclarativesmoothedanimation::simpleAnimation() QDeclarativeSmoothedAnimation *animation = obj->findChild<QDeclarativeSmoothedAnimation*>("anim"); QVERIFY(animation); - animation->setTarget(rect); + animation->setTargetObject(rect); animation->setProperty("x"); animation->setTo(200); animation->setDuration(250); |