diff --git a/tests/auto/qmltest/animators/tst_on.qml b/tests/auto/qmltest/animators/tst_on.qml index c96034bdab..b3fc719dcc 100644 --- a/tests/auto/qmltest/animators/tst_on.qml +++ b/tests/auto/qmltest/animators/tst_on.qml @@ -54,7 +54,7 @@ Item { && !anims.running && !animr.running && !animo.running; function test_endresult() { - tryCompare(box.xChangeCounter, 1); + tryCompare(box, 'xChangeCounter', 1); compare(box.yChangeCounter, 1); compare(box.scaleChangeCounter, 1); compare(box.rotationChangeCounter, 1);