diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-03-01 20:09:52 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-15 22:59:32 +0100 |
commit | b5b46f398c1a04ab443bf22ec08c5efbf72c161e (patch) | |
tree | b7e85e2a81a06719ffc28bc5042c98582557209c /examples/quick/mousearea | |
parent | 585bce863f4dd4b169111b2af11e50ba9fece92a (diff) |
Add a hidden XandYAxis enum value
For Qt 5 XandYAxis is being renamed to XAndYAxis to more consistently
follow capitalization rules. Add an undocumented XandYAxis variable to
ease porting.
Change-Id: Id9e41dd5578373f5f557937da889a9326ff12e53
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
Diffstat (limited to 'examples/quick/mousearea')
-rw-r--r-- | examples/quick/mousearea/mousearea.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/mousearea/mousearea.qml b/examples/quick/mousearea/mousearea.qml index fb912af7b5..efadfcfed3 100644 --- a/examples/quick/mousearea/mousearea.qml +++ b/examples/quick/mousearea/mousearea.qml @@ -152,7 +152,7 @@ Rectangle { anchors.fill: parent //! [drag] drag.target: blueSquare - drag.axis: Drag.XandYAxis + drag.axis: Drag.XAndYAxis drag.minimumX: 0 drag.maximumX: box.width - parent.width drag.minimumY: 0 |