Doc: fix the "Grouped Properties" example snippet
authorJ-P Nurmi <jpnurmi@theqtcompany.com>
Sat, 29 Aug 2015 16:35:12 +0000 (18:35 +0200)
committerJ-P Nurmi <jpnurmi@theqtcompany.com>
Mon, 31 Aug 2015 21:25:13 +0000 (21:25 +0000)
Change-Id: Id41084b5abd7a83aab519a73b7377deb30302511
Task-number: QTBUG-48009
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
src/qml/doc/src/cppintegration/exposecppattributes.qdoc

index e1db5c9d576384aa946cd7c7c9e679a5f61a457e..f4f688520a3576e2d3423d9887da09b4f998b84e 100644 (file)
@@ -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