diff options
Diffstat (limited to 'tests/animated-circle.qml')
-rw-r--r-- | tests/animated-circle.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/animated-circle.qml b/tests/animated-circle.qml index af2571c..921a4bb 100644 --- a/tests/animated-circle.qml +++ b/tests/animated-circle.qml @@ -1,6 +1,6 @@ -import QtQuick 1.0 +import QtQuick 2.0 -Item +Item { width: 800 height: 600 @@ -16,6 +16,6 @@ Item x: parent.width / 2 + parent.width / 3 * Math.sin(t * Math.PI * 2) - width / 2.; y: parent.height / 2 + parent.height / 3 * Math.cos(t * Math.PI * 2) - height / 2.; - NumberAnimation on t { from: 0; to: 1; duration: 5000; loops: Animation.Infinite } + NumberAnimation on t { from: 0; to: 1; duration: 5000; loops: Animation.Infinite } } } |