aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/graph/graph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/graph/graph.cpp')
-rw-r--r--examples/quick/scenegraph/graph/graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/graph/graph.cpp b/examples/quick/scenegraph/graph/graph.cpp
index 3ea6a8d07f..ccf98ef813 100644
--- a/examples/quick/scenegraph/graph/graph.cpp
+++ b/examples/quick/scenegraph/graph/graph.cpp
@@ -103,7 +103,7 @@ QSGNode *Graph::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *)
if (rect.isEmpty()) {
delete n;
- return 0;
+ return nullptr;
}
if (!n) {