summaryrefslogtreecommitdiffstats
path: root/examples/declarative/slideswitch/slideswitch.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/slideswitch/slideswitch.qml')
-rw-r--r--examples/declarative/slideswitch/slideswitch.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/slideswitch/slideswitch.qml b/examples/declarative/slideswitch/slideswitch.qml
index 9b46cd1..396749f 100644
--- a/examples/declarative/slideswitch/slideswitch.qml
+++ b/examples/declarative/slideswitch/slideswitch.qml
@@ -5,7 +5,7 @@ Rectangle {
color: "white"
width: 400; height: 250
- Switch {
- anchors.centerIn: parent
- }
+//![0]
+ Switch { anchors.centerIn: parent; on: false }
+//![0]
}