diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-04-22 01:59:07 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-04-22 01:59:07 (GMT) |
commit | 6b03492619243a1ede75ba324b8422304c662231 (patch) | |
tree | 9cc208ea5e5a819e19f274166c0eaac77e2758e3 /doc/src | |
parent | 05f695084d8f003982c9c8eca1b96301b8353fe4 (diff) | |
download | Qt-6b03492619243a1ede75ba324b8422304c662231.zip Qt-6b03492619243a1ede75ba324b8422304c662231.tar.gz Qt-6b03492619243a1ede75ba324b8422304c662231.tar.bz2 |
Doc: fix QStringList model doc (really).
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/qdeclarativemodels.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/declarative/qdeclarativemodels.qdoc b/doc/src/declarative/qdeclarativemodels.qdoc index eecc117..91acb3c 100644 --- a/doc/src/declarative/qdeclarativemodels.qdoc +++ b/doc/src/declarative/qdeclarativemodels.qdoc @@ -233,7 +233,7 @@ dataList.append("Ginger"); dataList.append("Skipper"); QDeclarativeContext *ctxt = view.rootContext(); -ctxt->setContextProperty("myModel", QVariant::fromValue(&dataList)); +ctxt->setContextProperty("myModel", QVariant::fromValue(dataList)); \endcode \o |