diff options
author | Martin Smith <msmith@trolltech.com> | 2010-01-07 12:51:56 (GMT) |
---|---|---|
committer | Jesper Thomschutz <jesper.thomschutz@nokia.com> | 2010-01-13 09:25:12 (GMT) |
commit | 03e14562078b1849b2fa03aeef71c3debd2e95ee (patch) | |
tree | aee64b4801b2885afe3f2bc70102794695d082ca | |
parent | fa54cd8d2a3edf2e994c5b287ae3c1f3506b72bc (diff) | |
download | Qt-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.qdoc | 2 |
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] |