summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-11-24 05:42:35 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-11-24 05:45:26 (GMT)
commit5149da5a564c883209566f3baaeea15932eee1c2 (patch)
tree7426a40c4521e0aec31b694ae93ad52100a1523b /doc
parent810e21d9e404aa2fcb602cb68bfd892387b234e7 (diff)
downloadQt-5149da5a564c883209566f3baaeea15932eee1c2.zip
Qt-5149da5a564c883209566f3baaeea15932eee1c2.tar.gz
Qt-5149da5a564c883209566f3baaeea15932eee1c2.tar.bz2
Fix incorrect example for Qt.rgba()
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/basictypes.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/declarative/basictypes.qdoc b/doc/src/declarative/basictypes.qdoc
index 8ab06ab..71192bf 100644
--- a/doc/src/declarative/basictypes.qdoc
+++ b/doc/src/declarative/basictypes.qdoc
@@ -166,7 +166,7 @@
\l{QML:Qt::lighter()}{Qt.lighter()} or \l{QML:Qt::tint()}{Qt.tint()} functions:
\qml
- Rectangle { color: Qt.rgba(255, 0, 0, 1) }
+ Rectangle { color: Qt.rgba(0.5, 0.5, 0, 1) }
\endqml
\sa {QML Basic Types}