summaryrefslogtreecommitdiffstats
path: root/examples/declarative/mousearea/mouse.qml
diff options
context:
space:
mode:
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