diff options
Diffstat (limited to 'src/declarative/items/qsgcanvas.cpp')
-rw-r--r-- | src/declarative/items/qsgcanvas.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/items/qsgcanvas.cpp b/src/declarative/items/qsgcanvas.cpp index 03b6a72b96..b579cc7236 100644 --- a/src/declarative/items/qsgcanvas.cpp +++ b/src/declarative/items/qsgcanvas.cpp @@ -910,12 +910,10 @@ QSGCanvas::~QSGCanvas() // manually cleanup for the root item (item destructor only handles these when an item is parented) QSGItemPrivate *rootItemPrivate = QSGItemPrivate::get(d->rootItem); rootItemPrivate->removeFromDirtyList(); - rootItemPrivate->canvas = 0; delete d->rootItem; d->rootItem = 0; d->cleanupNodes(); - if (!d->contextFailed) { // We need to remove all references to textures pointing to "our" QSGContext // from the QDeclarativePixmapCache. Call into the cache to remove the GL / Scene Graph |