summaryrefslogtreecommitdiffstats
path: root/src/doc/src/declarative/qdeclarativeintro.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/src/declarative/qdeclarativeintro.qdoc')
-rw-r--r--src/doc/src/declarative/qdeclarativeintro.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/src/declarative/qdeclarativeintro.qdoc b/src/doc/src/declarative/qdeclarativeintro.qdoc
index 97f88af8..e5e52407 100644
--- a/src/doc/src/declarative/qdeclarativeintro.qdoc
+++ b/src/doc/src/declarative/qdeclarativeintro.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
@@ -212,7 +212,8 @@ QML properties are what is known as \e type-safe. That is, they only allow you t
matches the property type. For example, the \c x property of item is a real, and if you try to assign
a string to it you will get an error.
-\badcode
+\code
+//bad code
Item {
x: "hello" // illegal!
}