summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/qshaderprogram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/materialsystem/qshaderprogram.h')
-rw-r--r--src/render/materialsystem/qshaderprogram.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/materialsystem/qshaderprogram.h b/src/render/materialsystem/qshaderprogram.h
index 1a1314156..87a841653 100644
--- a/src/render/materialsystem/qshaderprogram.h
+++ b/src/render/materialsystem/qshaderprogram.h
@@ -57,7 +57,7 @@ class QT3DRENDERSHARED_EXPORT QShaderProgram : public Qt3DCore::QNode
Q_PROPERTY(QByteArray computeShaderCode READ computeShaderCode WRITE setComputeShaderCode NOTIFY computeShaderCodeChanged)
public:
- explicit QShaderProgram(Qt3DCore::QNode *parent = 0);
+ explicit QShaderProgram(Qt3DCore::QNode *parent = Q_NULLPTR);
~QShaderProgram();
enum ShaderType {
@@ -100,7 +100,7 @@ Q_SIGNALS:
void computeShaderCodeChanged(const QByteArray &computeShaderCode);
protected:
- QShaderProgram(QShaderProgramPrivate &dd, Qt3DCore::QNode *parent = 0);
+ QShaderProgram(QShaderProgramPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR);
void copy(const Qt3DCore::QNode *ref) Q_DECL_OVERRIDE;
private: