diff options
Diffstat (limited to 'utils/themeeditor/graphics/rbalbumart.h')
-rw-r--r-- | utils/themeeditor/graphics/rbalbumart.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbalbumart.h b/utils/themeeditor/graphics/rbalbumart.h index f32c5f9bb1..8baf7a2198 100644 --- a/utils/themeeditor/graphics/rbalbumart.h +++ b/utils/themeeditor/graphics/rbalbumart.h | |||
@@ -24,7 +24,9 @@ | |||
24 | 24 | ||
25 | #include <QGraphicsItem> | 25 | #include <QGraphicsItem> |
26 | 26 | ||
27 | class RBAlbumArt : public QGraphicsItem | 27 | #include "rbmovable.h" |
28 | |||
29 | class RBAlbumArt : public RBMovable | ||
28 | { | 30 | { |
29 | public: | 31 | public: |
30 | RBAlbumArt(QGraphicsItem* parent, int x, int y, int maxWidth, int maxHeight, | 32 | RBAlbumArt(QGraphicsItem* parent, int x, int y, int maxWidth, int maxHeight, |
@@ -37,6 +39,9 @@ public: | |||
37 | 39 | ||
38 | void position(){ this->setPos(size.x(), size.y()); } | 40 | void position(){ this->setPos(size.x(), size.y()); } |
39 | 41 | ||
42 | protected: | ||
43 | void saveGeometry(); | ||
44 | |||
40 | private: | 45 | private: |
41 | QRectF size; | 46 | QRectF size; |
42 | int artWidth; | 47 | int artWidth; |