summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp')
-rw-r--r--examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp b/examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp
index 33e062971..e98ee8936 100644
--- a/examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp
+++ b/examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp
@@ -58,7 +58,7 @@ class TessellatedGeometry : public Qt3DRender::QGeometry
{
Q_OBJECT
public:
- TessellatedGeometry(Qt3DCore::QNode *parent = Q_NULLPTR)
+ TessellatedGeometry(Qt3DCore::QNode *parent = nullptr)
: Qt3DRender::QGeometry(parent)
, m_positionAttribute(new Qt3DRender::QAttribute(this))
, m_vertexBuffer(new Qt3DRender::QBuffer(Qt3DRender::QBuffer::VertexBuffer, this))