summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-19 01:50:35 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-19 01:50:35 (GMT)
commitb3c992c9b53d8f1630bdbc7472a29910f11ee035 (patch)
tree7074cf1a94ee556809c2b9db8a604be3fa8e4f9e /demos
parent1a226c81b7461b793fb94df5817701caef9c2014 (diff)
downloadQt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.zip
Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.tar.gz
Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.tar.bz2
API improvements for MouseRegion and Drag
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/flickr/content/Slider.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/flickr/content/Slider.qml b/demos/declarative/flickr/content/Slider.qml
index a2ec420..24f6f90 100644
--- a/demos/declarative/flickr/content/Slider.qml
+++ b/demos/declarative/flickr/content/Slider.qml
@@ -29,7 +29,7 @@ Item {
MouseRegion {
anchors.fill: parent; drag.target: parent
- drag.axis: "x"; drag.minimumX: 2; drag.maximumX: Slider.xMax+2
+ drag.axis: "XAxis"; drag.minimumX: 2; drag.maximumX: Slider.xMax+2
onPositionChanged: { value = (maximum - minimum) * (Handle.x-2) / Slider.xMax + minimum; }
}
}