summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 06:57:52 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-04-08 06:57:52 (GMT)
commit7d82f3875cd26c1cb0ad46ae0a9fddeb87e049d6 (patch)
tree0f26584c7ba328b0360006a52454a0bac8bd8ddd /examples
parenta7dded2849ba2abc60ee12d506c8361e41d347e6 (diff)
downloadQt-7d82f3875cd26c1cb0ad46ae0a9fddeb87e049d6.zip
Qt-7d82f3875cd26c1cb0ad46ae0a9fddeb87e049d6.tar.gz
Qt-7d82f3875cd26c1cb0ad46ae0a9fddeb87e049d6.tar.bz2
Fix warning in declarative/examples/velocity
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/velocity/Day.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/declarative/velocity/Day.qml b/examples/declarative/velocity/Day.qml
index fd937d0..724fcc8 100644
--- a/examples/declarative/velocity/Day.qml
+++ b/examples/declarative/velocity/Day.qml
@@ -53,8 +53,12 @@ Component {
id: mouse
onClicked: { myText.focus = true }
anchors.fill: parent
- drag.target: stickyPage; drag.axis: MouseArea.XandYAxis; drag.minimumY: 0; drag.maximumY: page.height - 80
- drag.minimumX: 100; drag.maximumX: page.width - 140
+ drag.target: stickyPage
+ drag.axis: "XandYAxis"
+ drag.minimumY: 0
+ drag.maximumY: page.height - 80
+ drag.minimumX: 100
+ drag.maximumX: page.width - 140
}
}
}