summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-01 02:49:44 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-01 02:49:44 +0000
commitf09370058ff170bcf99481dd8115871ba20ee816 (patch)
tree481e8c8143ac736eb2acea2c0160b40b196db829 /utils/themeeditor/graphics
parentc215d97b4dfdd08a59af20dacb5178087ee230c5 (diff)
downloadrockbox-f09370058ff170bcf99481dd8115871ba20ee816.zip
rockbox-f09370058ff170bcf99481dd8115871ba20ee816.tar.gz
rockbox-f09370058ff170bcf99481dd8115871ba20ee816.tar.bz2
rockbox-f09370058ff170bcf99481dd8115871ba20ee816.tar.xz
Theme Editor: Fixed album art positioning bug, removed unneeded debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27207 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics')
-rw-r--r--utils/themeeditor/graphics/rbalbumart.h2
-rw-r--r--utils/themeeditor/graphics/rbscreen.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbalbumart.h b/utils/themeeditor/graphics/rbalbumart.h
index 381b715..f32c5f9 100644
--- a/utils/themeeditor/graphics/rbalbumart.h
+++ b/utils/themeeditor/graphics/rbalbumart.h
@@ -35,6 +35,8 @@ public:
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QWidget *widget);
+ void position(){ this->setPos(size.x(), size.y()); }
+
private:
QRectF size;
int artWidth;
diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h
index 58788d4..70df399 100644
--- a/utils/themeeditor/graphics/rbscreen.h
+++ b/utils/themeeditor/graphics/rbscreen.h
@@ -79,6 +79,7 @@ public:
if(albumArt)
{
albumArt->setParentItem(view);
+ albumArt->position();
albumArt->show();
}
}