diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-05-06 01:16:45 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-05-06 01:17:56 (GMT) |
commit | c16cc8c4d03cb062c5164295cad75509ec31feaf (patch) | |
tree | 73fe7f4ed43bfa7bbf26f834db5275023607ec41 /demos | |
parent | 385799a8269dfb5b48de9e84e52af780fb400272 (diff) | |
download | Qt-c16cc8c4d03cb062c5164295cad75509ec31feaf.zip Qt-c16cc8c4d03cb062c5164295cad75509ec31feaf.tar.gz Qt-c16cc8c4d03cb062c5164295cad75509ec31feaf.tar.bz2 |
Use enum for drag.axis in doc and examples.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/flickr/common/Slider.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/flickr/common/Slider.qml b/demos/declarative/flickr/common/Slider.qml index 4da370e..76f6303 100644 --- a/demos/declarative/flickr/common/Slider.qml +++ b/demos/declarative/flickr/common/Slider.qml @@ -29,7 +29,7 @@ Item { MouseArea { anchors.fill: parent; drag.target: parent - drag.axis: "XAxis"; drag.minimumX: 2; drag.maximumX: slider.xMax+2 + drag.axis: Drag.XAxis; drag.minimumX: 2; drag.maximumX: slider.xMax+2 onPositionChanged: { value = (maximum - minimum) * (handle.x-2) / slider.xMax + minimum; } } } |