summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-04-29 19:35:20 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-05-01 15:43:11 +0000
commita01b14670e5b35a951ec57297613418dc829d65c (patch)
treed9bdcc4ca7b325ff5a1c2e68b801efe9e4d667b8 /examples/qt3d/tessellation-modes/tessellatedquadmesh.cpp
parentf9dc7c72090b9a11a3daf9e2c912213fbeec5739 (diff)
Q_NULLPTR -> nullptr
Task-number: QTBUG-52736 Change-Id: I58f9cbcdf018e7b672d33dd865067485412b79fe Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
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))