diff options
author | Martin Smith <msmith@trolltech.com> | 2010-01-07 12:51:56 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-01-07 12:51:56 (GMT) |
commit | 52ecb299691defc3be6d202c7fab71bf865c710a (patch) | |
tree | 1cb96019e5a8288781f3f63822cdbca3763c1665 /doc | |
parent | f16556359c24b04afe5af53ddbb80c4392d6dabb (diff) | |
download | Qt-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.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 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] |