aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qdeclarativesmoothedanimation
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-02-06 13:27:34 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-08 01:01:39 +0100
commit74ff1216a449d6098975b3c9baca7abb1399211b (patch)
treef3ea86c7efb9312b88d671fdd53480f10fc38888 /tests/auto/qtquick2/qdeclarativesmoothedanimation
parent814deac3b2abebc1fa60575264ecd24e5c98a36d (diff)
Don't hide virtual method.
Task-number: QTBUG-20994 Change-Id: Iaeeb23ed758ef52e0a3a61c4310aafec383e8a28 Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/qdeclarativesmoothedanimation')
-rw-r--r--tests/auto/qtquick2/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp2
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);