summaryrefslogtreecommitdiffstats
path: root/examples/declarative/mousearea/mouse.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-05-06 01:16:45 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-05-06 01:17:56 (GMT)
commitc16cc8c4d03cb062c5164295cad75509ec31feaf (patch)
tree73fe7f4ed43bfa7bbf26f834db5275023607ec41 /examples/declarative/mousearea/mouse.qml
parent385799a8269dfb5b48de9e84e52af780fb400272 (diff)
downloadQt-c16cc8c4d03cb062c5164295cad75509ec31feaf.zip
Qt-c16cc8c4d03cb062c5164295cad75509ec31feaf.tar.gz
Qt-c16cc8c4d03cb062c5164295cad75509ec31feaf.tar.bz2
Use enum for drag.axis in doc and examples.
Diffstat (limited to 'examples/declarative/mousearea/mouse.qml')
-rw-r--r--examples/declarative/mousearea/mouse.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/mousearea/mouse.qml b/examples/declarative/mousearea/mouse.qml
index 67302a8..06134b7 100644
--- a/examples/declarative/mousearea/mouse.qml
+++ b/examples/declarative/mousearea/mouse.qml
@@ -33,7 +33,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
drag.target: parent
- drag.axis: "XAxis"
+ drag.axis: Drag.XAxis
drag.minimumX: 0
drag.maximumX: 150