diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-03-01 02:13:35 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-03-01 19:26:22 +0000 |
commit | 792fb7c40e33fa34d6039956c48dea4bd82bb8d1 (patch) | |
tree | 08002bd7d4ab4ce8e15604d7729b5721addf22df /src/render/geometry/qcylindergeometry.h | |
parent | 7e4b3673ac571ce067e36e29d63f1fd4418bcfb7 (diff) |
Make public headers compile with -Wzero-as-null-pointer-constant
... or equivalent.
Task-number: QTBUG-45291
Change-Id: I1453477ad718335ca6c5c0c3447539cb93e21176
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/geometry/qcylindergeometry.h')
-rw-r--r-- | src/render/geometry/qcylindergeometry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/geometry/qcylindergeometry.h b/src/render/geometry/qcylindergeometry.h index 74b520e0e..24e280928 100644 --- a/src/render/geometry/qcylindergeometry.h +++ b/src/render/geometry/qcylindergeometry.h @@ -60,7 +60,7 @@ class QT3DRENDERSHARED_EXPORT QCylinderGeometry : public QGeometry Q_PROPERTY(Qt3DRender::QAttribute *indexAttribute READ indexAttribute CONSTANT) public: - explicit QCylinderGeometry(QNode *parent = 0); + explicit QCylinderGeometry(QNode *parent = Q_NULLPTR); ~QCylinderGeometry(); void updateVertices(); @@ -89,7 +89,7 @@ Q_SIGNALS: void lengthChanged(float length); protected: - QCylinderGeometry(QCylinderGeometryPrivate &dd, QNode *parent = 0); + QCylinderGeometry(QCylinderGeometryPrivate &dd, QNode *parent = Q_NULLPTR); private: Q_DECLARE_PRIVATE(QCylinderGeometry) |