summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2017-02-13 17:01:15 +0100
committerNico Vertriest <nico.vertriest@qt.io>2017-02-17 12:52:18 +0000
commitf22b372e812ee808ba2dd88bf345ef6f4fb635d1 (patch)
tree79ebbc6b55121042b68b0517b70978389a45bb8a /examples
parent6f10fdbd675c056a278744e7fc867a146cded82d (diff)
Doc: Corrected snippet quoting syntax
Command '\snippet (//! [2])' failed at end of file 'planets-qml/PlanetsMain.qml' Change-Id: If30a8123aad2631de22731e5bbd51871166063c8 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qt3d/planets-qml/PlanetsMain.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/qt3d/planets-qml/PlanetsMain.qml b/examples/qt3d/planets-qml/PlanetsMain.qml
index a6fb3545f..c9d826784 100644
--- a/examples/qt3d/planets-qml/PlanetsMain.qml
+++ b/examples/qt3d/planets-qml/PlanetsMain.qml
@@ -417,8 +417,9 @@ Item {
value: 1
minimumValue: 1
maximumValue: 2
-
+ //! [2]
onValueChanged: solarsystem.changeCameraDistance(value)
+ //! [2]
property bool panningEnabled: false
signal swipeUp()