summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics/rbscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.cpp')
-rw-r--r--utils/themeeditor/graphics/rbscreen.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp
index f82c60ce6c..924a37406e 100644
--- a/utils/themeeditor/graphics/rbscreen.cpp
+++ b/utils/themeeditor/graphics/rbscreen.cpp
@@ -28,7 +28,8 @@
28 28
29RBScreen::RBScreen(const RBRenderInfo& info, bool remote, 29RBScreen::RBScreen(const RBRenderInfo& info, bool remote,
30 QGraphicsItem *parent) 30 QGraphicsItem *parent)
31 :QGraphicsItem(parent), backdrop(0), project(project) 31 :QGraphicsItem(parent), backdrop(0), project(project),
32 albumArt(0)
32{ 33{
33 34
34 if(remote) 35 if(remote)
@@ -80,6 +81,9 @@ RBScreen::~RBScreen()
80 if(backdrop) 81 if(backdrop)
81 delete backdrop; 82 delete backdrop;
82 83
84 if(albumArt)
85 delete albumArt;
86
83 QMap<int, RBFont*>::iterator i; 87 QMap<int, RBFont*>::iterator i;
84 for(i = fonts.begin(); i != fonts.end(); i++) 88 for(i = fonts.begin(); i != fonts.end(); i++)
85 delete (*i); 89 delete (*i);