summaryrefslogtreecommitdiffstats
path: root/src/render/lights/qpointlight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/lights/qpointlight.h')
-rw-r--r--src/render/lights/qpointlight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/lights/qpointlight.h b/src/render/lights/qpointlight.h
index 6f975f07b..c5b9b2d51 100644
--- a/src/render/lights/qpointlight.h
+++ b/src/render/lights/qpointlight.h
@@ -56,7 +56,7 @@ class QT3DRENDERSHARED_EXPORT QPointLight : public QAbstractLight
Q_PROPERTY(float quadraticAttenuation READ quadraticAttenuation WRITE setQuadraticAttenuation NOTIFY quadraticAttenuationChanged)
public:
- explicit QPointLight(Qt3DCore::QNode *parent = Q_NULLPTR);
+ explicit QPointLight(Qt3DCore::QNode *parent = nullptr);
float constantAttenuation() const;
float linearAttenuation() const;