summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qannotation.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-05-18 06:19:13 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-05-20 05:55:10 +0000
commitbfae282e8fb6d6d83e92df712f93b583616169d9 (patch)
tree3c29f6ac29f3a679b6f02b632212384bf4df1018 /src/render/frontend/qannotation.cpp
parent5e28b995f5e43c6a908906966190f4ad594edede (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.cpp6
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)
{
}