summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics
diff options
context:
space:
mode:
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 381b715525..f32c5f9bb1 100644
--- a/utils/themeeditor/graphics/rbalbumart.h
+++ b/utils/themeeditor/graphics/rbalbumart.h
@@ -35,6 +35,8 @@ public:
35 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, 35 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
36 QWidget *widget); 36 QWidget *widget);
37 37
38 void position(){ this->setPos(size.x(), size.y()); }
39
38private: 40private:
39 QRectF size; 41 QRectF size;
40 int artWidth; 42 int artWidth;
diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h
index 58788d463b..70df399b34 100644
--- a/utils/themeeditor/graphics/rbscreen.h
+++ b/utils/themeeditor/graphics/rbscreen.h
@@ -79,6 +79,7 @@ public:
79 if(albumArt) 79 if(albumArt)
80 { 80 {
81 albumArt->setParentItem(view); 81 albumArt->setParentItem(view);
82 albumArt->position();
82 albumArt->show(); 83 albumArt->show();
83 } 84 }
84 } 85 }