diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2015-05-18 06:19:13 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2015-05-20 05:55:10 +0000 |
commit | bfae282e8fb6d6d83e92df712f93b583616169d9 (patch) | |
tree | 3c29f6ac29f3a679b6f02b632212384bf4df1018 /src/render/frontend/qannotation.cpp | |
parent | 5e28b995f5e43c6a908906966190f4ad594edede (diff) |
Do not pass `this` to Private c-tor
For classes derived from QNodePrivate, it is not used anymore.
Change-Id: I9573042500c2c7533687d251e72bac14cb793525
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/frontend/qannotation.cpp')
-rw-r--r-- | src/render/frontend/qannotation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/frontend/qannotation.cpp b/src/render/frontend/qannotation.cpp index 75b4d732e..fb56772f5 100644 --- a/src/render/frontend/qannotation.cpp +++ b/src/render/frontend/qannotation.cpp @@ -48,8 +48,8 @@ namespace Qt3D { \class Qt3D::QAnnotationPrivate \internal */ -QAnnotationPrivate::QAnnotationPrivate(QAnnotation *qq) - : QNodePrivate(qq) +QAnnotationPrivate::QAnnotationPrivate() + : QNodePrivate() { } @@ -62,7 +62,7 @@ void QAnnotation::copy(const QNode *ref) } QAnnotation::QAnnotation(QNode *parent) - : QNode(*new QAnnotationPrivate(this), parent) + : QNode(*new QAnnotationPrivate, parent) { } |