diff options
author | Martin Smith <msmith@trolltech.com> | 2010-01-07 12:51:56 (GMT) |
---|---|---|
committer | Jesper Thomschutz <jesper.thomschutz@nokia.com> | 2010-01-14 09:35:38 (GMT) |
commit | 724ee79d0dc01ea0b040863ac9bd074300eaf39f (patch) | |
tree | bb2f043670f520c3b7da55bdd2825cb8802d2b15 | |
parent | f3b819ecfbf19a4ca1aad037fad6e8675fe2a25a (diff) | |
download | Qt-724ee79d0dc01ea0b040863ac9bd074300eaf39f.zip Qt-724ee79d0dc01ea0b040863ac9bd074300eaf39f.tar.gz Qt-724ee79d0dc01ea0b040863ac9bd074300eaf39f.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] |