summaryrefslogtreecommitdiffstats
path: root/examples/declarative/slideswitch
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-18 00:43:02 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-18 00:43:02 (GMT)
commit8f5e72298fc4b8a5838bee1291a2cc422750b6b8 (patch)
treef7a780127d327c879cb642b8a23c44f081c71556 /examples/declarative/slideswitch
parent41335c52ef2844589030cddb4773c68cf38331af (diff)
downloadQt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.zip
Qt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.tar.gz
Qt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.tar.bz2
MouseRegion API changes following review.
Diffstat (limited to 'examples/declarative/slideswitch')
-rw-r--r--examples/declarative/slideswitch/Switch.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/slideswitch/Switch.qml b/examples/declarative/slideswitch/Switch.qml
index 91627c7..b5de9ec 100644
--- a/examples/declarative/slideswitch/Switch.qml
+++ b/examples/declarative/slideswitch/Switch.qml
@@ -36,7 +36,7 @@ Item {
anchors.fill: Knob
onClicked: { toggle() }
onReleased: { dorelease() }
- drag.target: Knob; drag.axis: "x"; drag.xmin: 1; drag.xmax: 78
+ drag.target: Knob; drag.axis: "x"; drag.minimumX: 1; drag.maximumX: 78
}
states: [
State {