summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/framegraphnode_p.h
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 /src/render/framegraph/framegraphnode_p.h
parentf9dc7c72090b9a11a3daf9e2c912213fbeec5739 (diff)
Q_NULLPTR -> nullptr
Task-number: QTBUG-52736 Change-Id: I58f9cbcdf018e7b672d33dd865067485412b79fe Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/framegraph/framegraphnode_p.h')
-rw-r--r--src/render/framegraph/framegraphnode_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/framegraph/framegraphnode_p.h b/src/render/framegraph/framegraphnode_p.h
index acd5548c0..8c8354250 100644
--- a/src/render/framegraph/framegraphnode_p.h
+++ b/src/render/framegraph/framegraphnode_p.h
@@ -153,7 +153,7 @@ protected:
Backend *createBackendFrameGraphNode(Qt3DCore::QNode *n) const
{
Frontend *f = qobject_cast<Frontend *>(n);
- if (f != Q_NULLPTR) {
+ if (f != nullptr) {
if (!m_manager->containsNode(n->id())) {
Backend *backend = new Backend();
backend->setFrameGraphManager(m_manager);
@@ -167,7 +167,7 @@ protected:
}
return static_cast<Backend *>(m_manager->lookupNode(n->id()));
}
- return Q_NULLPTR;
+ return nullptr;
}
Backend *createBackendFrameGraphNode(const Qt3DCore::QNodeCreatedChangeBasePtr &change) const