summaryrefslogtreecommitdiffstats
path: root/src/core/nodes/qentity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nodes/qentity.h')
-rw-r--r--src/core/nodes/qentity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nodes/qentity.h b/src/core/nodes/qentity.h
index be25eff8d..0e8da0800 100644
--- a/src/core/nodes/qentity.h
+++ b/src/core/nodes/qentity.h
@@ -55,7 +55,7 @@ class QT3DCORESHARED_EXPORT QEntity : public QNode
{
Q_OBJECT
public:
- explicit QEntity(QNode *parent = 0);
+ explicit QEntity(QNode *parent = Q_NULLPTR);
virtual ~QEntity();
QComponentList components() const;
@@ -67,7 +67,7 @@ public:
QEntity *parentEntity() const;
protected:
- QEntity(QEntityPrivate &dd, QNode *parent = 0);
+ QEntity(QEntityPrivate &dd, QNode *parent = Q_NULLPTR);
void copy(const QNode *ref) Q_DECL_OVERRIDE;
private: