summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dial/content/Dial.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/dial/content/Dial.qml')
-rw-r--r--examples/declarative/dial/content/Dial.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/dial/content/Dial.qml b/examples/declarative/dial/content/Dial.qml
index ad4717a..f9ab3e3 100644
--- a/examples/declarative/dial/content/Dial.qml
+++ b/examples/declarative/dial/content/Dial.qml
@@ -1,4 +1,4 @@
-import Qt 4.6
+import Qt 4.7
Item {
id: root
@@ -29,7 +29,7 @@ Item {
SpringFollow on angle {
spring: 1.4
damping: .15
- source: Math.min(Math.max(-130, root.value*2.6 - 130), 133)
+ to: Math.min(Math.max(-130, root.value*2.6 - 130), 133)
}
}
}