summaryrefslogtreecommitdiffstats
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/src/snippets/declarative/drag.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/declarative/drag.qml b/doc/src/snippets/declarative/drag.qml
index 9465efb..79469e3 100644
--- a/doc/src/snippets/declarative/drag.qml
+++ b/doc/src/snippets/declarative/drag.qml
@@ -9,7 +9,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
drag.target: pic
- drag.axis: "XAxis"
+ drag.axis: Drag.XAxis
drag.minimumX: 0
drag.maximumX: blurtest.width-pic.width
}