summaryrefslogtreecommitdiffstats
path: root/tutorials
diff options
context:
space:
mode:
authorSergey Dubitskiy <sergey.dubitskiy@nokia.com>2012-02-13 14:27:29 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-17 06:46:12 +0100
commit9942ab3bf415eaa38a2e85b673292ba464a5c691 (patch)
treebffd3fff0e15277d3e95a8c452a07a1aa66d6251 /tutorials
parentc1fcc7174a90c16a4c0028cbdeb5bbf5c569c259 (diff)
Resource handling needs refactoring.
Phase Two: Fix all C++based demos/examples/tutorials. Call cleanupResources() for all textures created. Task-number: QTBUG-24043 Change-Id: I4bef23f7fe56e092de79bb91b41d6d691329b2cf Reviewed-by: Danny Pope <daniel.pope@nokia.com>
Diffstat (limited to 'tutorials')
-rw-r--r--tutorials/qt3d/cube4/cubeview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tutorials/qt3d/cube4/cubeview.cpp b/tutorials/qt3d/cube4/cubeview.cpp
index 5c05626f0..cae1f7597 100644
--- a/tutorials/qt3d/cube4/cubeview.cpp
+++ b/tutorials/qt3d/cube4/cubeview.cpp
@@ -60,6 +60,7 @@ CubeView::CubeView(QWindow *parent)
CubeView::~CubeView()
{
+ logo.cleanupResources();
delete cube;
}