aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src
diff options
context:
space:
mode:
authorYuya Nishihara <yuya.nishihara@qt.io>2020-06-03 15:52:08 +0900
committerShawn Rutledge <shawn.rutledge@qt.io>2020-06-12 01:46:20 +0000
commitd373fcab7a2beac1addc04a6bbe0b4d1f9770f23 (patch)
tree789ad8da969e2ac8a1f6958b858fff7da518a6f6 /src/qml/doc/src
parenta3a734162bcfc7cd73d911644c0c9c4e30428b48 (diff)
Doc: Update example of QML int value
Item width and height are real numbers. Let's pick other property of int type. Pick-to: 5.15 Change-Id: I43e74e4005681d570047648e2c141994a075150e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/doc/src')
-rw-r--r--src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc b/src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc
index ae34138b04..1040baedc0 100644
--- a/src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc
+++ b/src/qml/doc/src/qmllanguageref/typesystem/basictypes.qdoc
@@ -143,7 +143,7 @@ property is only invoked when the property is reassigned to a different object v
Example:
\qml
- Item { width: 100; height: 200 }
+ NumberAnimation { loops: 5 }
\endqml
This basic type is provided by the QML language.