From 52ecb299691defc3be6d202c7fab71bf865c710a Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 7 Jan 2010 13:51:56 +0100 Subject: doc: Corrected parameter value in snippet. Task-number: QTBUG-7158 --- doc/src/snippets/code/doc_src_properties.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v0.12