summaryrefslogtreecommitdiffstats
path: root/src/doc/src/declarative/propertybinding.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/src/declarative/propertybinding.qdoc')
-rw-r--r--src/doc/src/declarative/propertybinding.qdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/src/declarative/propertybinding.qdoc b/src/doc/src/declarative/propertybinding.qdoc
index 60de77ce..450d2265 100644
--- a/src/doc/src/declarative/propertybinding.qdoc
+++ b/src/doc/src/declarative/propertybinding.qdoc
@@ -109,7 +109,8 @@ properties only allow you to assign a value that matches the property type. For
example, if a property is a real, and if you try to assign a string to it you
will get an error.
-\badcode
+\code
+//bad code
property real volume: "four" //generates an error
\endcode