summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-01-07 12:51:56 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-01-13 09:25:12 (GMT)
commit03e14562078b1849b2fa03aeef71c3debd2e95ee (patch)
treeaee64b4801b2885afe3f2bc70102794695d082ca
parentfa54cd8d2a3edf2e994c5b287ae3c1f3506b72bc (diff)
downloadQt-03e14562078b1849b2fa03aeef71c3debd2e95ee.zip
Qt-03e14562078b1849b2fa03aeef71c3debd2e95ee.tar.gz
Qt-03e14562078b1849b2fa03aeef71c3debd2e95ee.tar.bz2
doc: Corrected parameter value in snippet.
Task-number: QTBUG-7158 (cherry picked from commit 52ecb299691defc3be6d202c7fab71bf865c710a)
-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 9845abb..2567b2a 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]