diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-22 05:10:37 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-22 05:10:37 (GMT) |
commit | 1ad3918809ea6c4ac3c1b185581f1c8e76f02aca (patch) | |
tree | 79c712286b530383b90ef426a560bed93208b1d5 /demos/declarative/flickr/common/Slider.qml | |
parent | bffef59bcefd73a5474f3c3052c951977b60eb27 (diff) | |
download | Qt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.zip Qt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.tar.gz Qt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.tar.bz2 |
Rename MouseRegion -> MouseArea
Diffstat (limited to 'demos/declarative/flickr/common/Slider.qml')
-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 fa1645c..05a87e7 100644 --- a/demos/declarative/flickr/common/Slider.qml +++ b/demos/declarative/flickr/common/Slider.qml @@ -27,7 +27,7 @@ Item { GradientStop { position: 1.0; color: "gray" } } - MouseRegion { + MouseArea { anchors.fill: parent; drag.target: parent drag.axis: "XAxis"; drag.minimumX: 2; drag.maximumX: slider.xMax+2 onPositionChanged: { value = (maximum - minimum) * (handle.x-2) / slider.xMax + minimum; } |