From 9ee31a6ae852eb347951e371958dd435409c9941 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Sat, 29 Aug 2015 18:35:12 +0200 Subject: Doc: fix the "Grouped Properties" example snippet Change-Id: Id41084b5abd7a83aab519a73b7377deb30302511 Task-number: QTBUG-48009 Reviewed-by: Mitch Curtis --- src/qml/doc/src/cppintegration/exposecppattributes.qdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/doc/src/cppintegration/exposecppattributes.qdoc b/src/qml/doc/src/cppintegration/exposecppattributes.qdoc index e1db5c9d5..f4f688520 100644 --- a/src/qml/doc/src/cppintegration/exposecppattributes.qdoc +++ b/src/qml/doc/src/cppintegration/exposecppattributes.qdoc @@ -328,11 +328,11 @@ public: : QObject(parent), m_author(new MessageAuthor(this)) { } - Message *author() const { + MessageAuthor *author() const { return m_author; } private: - Message *m_author; + MessageAuthor *m_author; }; \endcode -- cgit v1.2.3