summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-07-21 01:34:18 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-07-21 01:34:18 (GMT)
commit4e193343630db3c3efaa67670e73e2b5a89cf69a (patch)
treedb33b3194e2dd66d921b43c6e3a3a8342e596451 /examples/declarative
parentc2c28428123cfd3a3994117bfea88a0ae68f6884 (diff)
parent64833c0a648211f3fe7547436f022edc0ceb51ac (diff)
downloadQt-4e193343630db3c3efaa67670e73e2b5a89cf69a.zip
Qt-4e193343630db3c3efaa67670e73e2b5a89cf69a.tar.gz
Qt-4e193343630db3c3efaa67670e73e2b5a89cf69a.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/toys/clocks/content/Clock.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/toys/clocks/content/Clock.qml b/examples/declarative/toys/clocks/content/Clock.qml
index 24a07ec..eaa14c6 100644
--- a/examples/declarative/toys/clocks/content/Clock.qml
+++ b/examples/declarative/toys/clocks/content/Clock.qml
@@ -77,7 +77,7 @@ Item {
origin.x: 7.5; origin.y: 73;
angle: (clock.hours * 30) + (clock.minutes * 0.5)
Behavior on angle {
- NumberAnimation{}
+ RotationAnimation{ direction: RotationAnimation.Clockwise }
}
}
}
@@ -91,7 +91,7 @@ Item {
origin.x: 6.5; origin.y: 83;
angle: clock.minutes * 6
Behavior on angle {
- NumberAnimation{}
+ RotationAnimation{ direction: RotationAnimation.Clockwise }
}
}
}
@@ -105,7 +105,7 @@ Item {
origin.x: 2.5; origin.y: 80;
angle: clock.seconds * 6
Behavior on angle {
- NumberAnimation{}
+ RotationAnimation{ direction: RotationAnimation.Clockwise }
}
}
}