diff options
author | Martin Smith <msmith@trolltech.com> | 2010-01-07 13:51:56 +0100 |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-01-07 13:51:56 +0100 |
commit | 52ecb299691defc3be6d202c7fab71bf865c710a (patch) | |
tree | 1cb96019e5a8288781f3f63822cdbca3763c1665 | |
parent | f16556359c24b04afe5af53ddbb80c4392d6dabb (diff) | |
download | qt4-tools-52ecb299691defc3be6d202c7fab71bf865c710a.tar.gz |
doc: Corrected parameter value in snippet.
Task-number: QTBUG-7158
-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 962d930657..38cc139ed1 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] |