summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-04-30 03:47:01 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-04-30 03:47:01 (GMT)
commit4e01e6107c4228912fba90ba682a7c0620d92dcb (patch)
treee75dec628ea270b00bcfaa76533e21c486ca994a /examples/declarative
parent63fd040014fa21a9e59466781b835d4188965559 (diff)
downloadQt-4e01e6107c4228912fba90ba682a7c0620d92dcb.zip
Qt-4e01e6107c4228912fba90ba682a7c0620d92dcb.tar.gz
Qt-4e01e6107c4228912fba90ba682a7c0620d92dcb.tar.bz2
fix
Diffstat (limited to 'examples/declarative')
-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 a3f75e8..5862646 100644
--- a/examples/declarative/slideswitch/Switch.qml
+++ b/examples/declarative/slideswitch/Switch.qml
@@ -46,7 +46,7 @@ Item {
MouseRegion {
anchors.fill: Knob
onClicked: { toggle() }
- onReleased: { if (!isClick) dorelease() }
+ onReleased: { dorelease() }
drag.target: Knob
drag.axis: "x"
drag.xmin: 1