summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbscreen.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-30 19:35:00 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-30 19:35:00 +0000
commit8114979e8e413caa876cda626fe0b6385bfc56ce (patch)
tree7b1a193dfbbc48941b93d7c5e2f21199d5bd2979 /utils/themeeditor/graphics/rbscreen.cpp
parent3e599f4d379aeaa7ce5861c9818028e6d02d4490 (diff)
downloadrockbox-8114979e8e413caa876cda626fe0b6385bfc56ce.tar.gz
rockbox-8114979e8e413caa876cda626fe0b6385bfc56ce.zip
Theme Editor: Added album art display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27199 a1c6a512-1295-4272-9138-f99709370657
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 @@
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);