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 f82c60c..924a374 100644
--- a/utils/themeeditor/graphics/rbscreen.cpp
+++ b/utils/themeeditor/graphics/rbscreen.cpp
@@ -28,7 +28,8 @@
RBScreen::RBScreen(const RBRenderInfo& info, bool remote,
QGraphicsItem *parent)
- :QGraphicsItem(parent), backdrop(0), project(project)
+ :QGraphicsItem(parent), backdrop(0), project(project),
+ albumArt(0)
{
if(remote)
@@ -80,6 +81,9 @@ RBScreen::~RBScreen()
if(backdrop)
delete backdrop;
+ if(albumArt)
+ delete albumArt;
+
QMap<int, RBFont*>::iterator i;
for(i = fonts.begin(); i != fonts.end(); i++)
delete (*i);