summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-01-07 12:51:56 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-01-07 12:51:56 (GMT)
commit52ecb299691defc3be6d202c7fab71bf865c710a (patch)
tree1cb96019e5a8288781f3f63822cdbca3763c1665 /doc
parentf16556359c24b04afe5af53ddbb80c4392d6dabb (diff)
downloadQt-52ecb299691defc3be6d202c7fab71bf865c710a.zip
Qt-52ecb299691defc3be6d202c7fab71bf865c710a.tar.gz
Qt-52ecb299691defc3be6d202c7fab71bf865c710a.tar.bz2
doc: Corrected parameter value in snippet.
Task-number: QTBUG-7158
Diffstat (limited to 'doc')
-rw-r--r--doc/src/snippets/code/doc_src_properties.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/doc_src_properties.qdoc b/doc/src/snippets/code/doc_src_properties.qdoc
index 962d930..38cc139 100644
--- a/doc/src/snippets/code/doc_src_properties.qdoc
+++ b/doc/src/snippets/code/doc_src_properties.qdoc
@@ -112,7 +112,7 @@ MyClass *myinstance = new MyClass;
QObject *object = myinstance;
myinstance->setPriority(MyClass::VeryHigh);
-object->setProperty("priority", "VeryHigh");
+object->setProperty("priority", (int)MyClass::VeryHigh);
//! [6]