summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-05-07 03:29:34 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-05-07 03:29:34 (GMT)
commit4600f2053802ad41550a84573bdcbe4b50fb5a67 (patch)
tree6229b597e7feaa4580f1a8d953d679168abaaacf /src
parent62a65081a37ed9a51b0d39d1e740345d77f7bec0 (diff)
downloadQt-4600f2053802ad41550a84573bdcbe4b50fb5a67.zip
Qt-4600f2053802ad41550a84573bdcbe4b50fb5a67.tar.gz
Qt-4600f2053802ad41550a84573bdcbe4b50fb5a67.tar.bz2
Doc fix
Task-number: QTBUG-10458
Diffstat (limited to 'src')
-rw-r--r--src/declarative/util/qdeclarativelistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativelistmodel.cpp b/src/declarative/util/qdeclarativelistmodel.cpp
index 3810256..0985a6b 100644
--- a/src/declarative/util/qdeclarativelistmodel.cpp
+++ b/src/declarative/util/qdeclarativelistmodel.cpp
@@ -591,7 +591,7 @@ void QDeclarativeListModel::set(int index, const QScriptValue& valuemap)
Changes the \a property of the item at \a index in the list model to \a value.
\code
- fruitModel.set(3, "cost", 5.95)
+ fruitModel.setProperty(3, "cost", 5.95)
\endcode
The \a index must be an element in the list.