summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qspotlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qspotlight.cpp')
-rw-r--r--src/render/frontend/qspotlight.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/frontend/qspotlight.cpp b/src/render/frontend/qspotlight.cpp
index edb6243a3..bbac94b4c 100644
--- a/src/render/frontend/qspotlight.cpp
+++ b/src/render/frontend/qspotlight.cpp
@@ -67,8 +67,8 @@ namespace Qt3D {
\class Qt3D::QSpotLightPrivate
\internal
*/
-QSpotLightPrivate::QSpotLightPrivate(QSpotLight *qq)
- : QAbstractLightPrivate(qq)
+QSpotLightPrivate::QSpotLightPrivate()
+ : QAbstractLightPrivate()
, m_cutOffAngle(45.0f)
{
}
@@ -84,7 +84,7 @@ void QSpotLight::copy(const QNode *ref)
}
QSpotLight::QSpotLight(QNode *parent)
- : QAbstractLight(*new QSpotLightPrivate(this), parent)
+ : QAbstractLight(*new QSpotLightPrivate, parent)
{
}