diff options
Diffstat (limited to 'src/render/lights/qspotlight.h')
-rw-r--r-- | src/render/lights/qspotlight.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/lights/qspotlight.h b/src/render/lights/qspotlight.h index 4a0dfc5f0..3a477c4e4 100644 --- a/src/render/lights/qspotlight.h +++ b/src/render/lights/qspotlight.h @@ -56,7 +56,7 @@ class QT3DRENDERSHARED_EXPORT QSpotLight : public QLight Q_PROPERTY(float cutOffAngle READ cutOffAngle WRITE setCutOffAngle NOTIFY cutOffAngleChanged) public: - explicit QSpotLight(Qt3DCore::QNode *parent = 0); + explicit QSpotLight(Qt3DCore::QNode *parent = Q_NULLPTR); QVector3D attenuation() const; QVector3D localDirection() const; @@ -82,7 +82,7 @@ Q_SIGNALS: void cutOffAngleChanged(float cutOffAngle); protected: - QSpotLight(QSpotLightPrivate &dd, Qt3DCore::QNode *parent = 0); + QSpotLight(QSpotLightPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR); void copy(const Qt3DCore::QNode *ref) Q_DECL_OVERRIDE; private: |