summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qmaterial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qmaterial.cpp')
-rw-r--r--src/render/frontend/qmaterial.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/frontend/qmaterial.cpp b/src/render/frontend/qmaterial.cpp
index 4cd5713ba..54efb6709 100644
--- a/src/render/frontend/qmaterial.cpp
+++ b/src/render/frontend/qmaterial.cpp
@@ -67,8 +67,8 @@ namespace Qt3D {
\class Qt3D::QMaterialPrivate
\internal
*/
-QMaterialPrivate::QMaterialPrivate(QMaterial *qq)
- : QComponentPrivate(qq)
+QMaterialPrivate::QMaterialPrivate()
+ : QComponentPrivate()
, m_effect(Q_NULLPTR)
{
}
@@ -85,7 +85,7 @@ void QMaterial::copy(const QNode *ref)
}
QMaterial::QMaterial(QNode *parent)
- : QComponent(*new QMaterialPrivate(this), parent)
+ : QComponent(*new QMaterialPrivate, parent)
{
}