Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reset all node pointers when item is cleaned up
Change-Id: I5878e1d39eca3fa640f16d153924968f72bc9ffc
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
  • Loading branch information
Gunnar Sletta authored and Qt by Nokia committed Mar 19, 2012
1 parent e2caf23 commit cbb53d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/quick/items/qquickcanvas.cpp
Expand Up @@ -1618,6 +1618,7 @@ void QQuickCanvasPrivate::cleanupNodesOnShutdown(QQuickItem *item)
if (p->extra.isAllocated()) {
p->extra->opacityNode = 0;
p->extra->clipNode = 0;
p->extra->rootNode = 0;
}

p->groupNode = 0;
Expand Down

0 comments on commit cbb53d4

Please sign in to comment.