summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dial/dial-example.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/dial/dial-example.qml')
-rw-r--r--examples/declarative/dial/dial-example.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/dial/dial-example.qml b/examples/declarative/dial/dial-example.qml
index dd51435..900954f 100644
--- a/examples/declarative/dial/dial-example.qml
+++ b/examples/declarative/dial/dial-example.qml
@@ -41,8 +41,8 @@ Rectangle {
MouseArea {
anchors.fill: parent
- drag.target: parent; drag.axis: "XAxis"; drag.minimumX: 2
- drag.maximumX: container.width - 32
+ drag.target: parent; drag.axis: Drag.XAxis
+ drag.minimumX: 2; drag.maximumX: container.width - 32
}
}
}