diff options
Diffstat (limited to 'src/render/defaults/qgoochmaterial.h')
-rw-r--r-- | src/render/defaults/qgoochmaterial.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/defaults/qgoochmaterial.h b/src/render/defaults/qgoochmaterial.h index fe3320ae0..3a6bfdd51 100644 --- a/src/render/defaults/qgoochmaterial.h +++ b/src/render/defaults/qgoochmaterial.h @@ -61,7 +61,7 @@ class QT3DRENDERSHARED_EXPORT QGoochMaterial : public QMaterial Q_PROPERTY(float shininess READ shininess WRITE setShininess NOTIFY shininessChanged) public: - explicit QGoochMaterial(Qt3DCore::QNode *parent = 0); + explicit QGoochMaterial(Qt3DCore::QNode *parent = Q_NULLPTR); QColor diffuse() const; QColor specular() const; QColor cool() const; @@ -89,7 +89,7 @@ Q_SIGNALS: void shininessChanged(float shininess); protected: - QGoochMaterial(QGoochMaterialPrivate &dd, Qt3DCore::QNode *parent = 0); + QGoochMaterial(QGoochMaterialPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR); private: Q_DECLARE_PRIVATE(QGoochMaterial) |