diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-07-03 21:56:29 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-03 21:56:29 +0000 |
commit | 8219cfe988d65dd6089d1cda51304653f89c4425 (patch) | |
tree | 7fe9e50c43f2efc41fbfcfa45996675346ad7ab1 /utils/themeeditor/graphics/rbscreen.cpp | |
parent | 6e40988803609c6cd65e7091e1b58e4a6a5b936d (diff) | |
download | rockbox-8219cfe988d65dd6089d1cda51304653f89c4425.tar.gz rockbox-8219cfe988d65dd6089d1cda51304653f89c4425.zip |
Theme Editor: Status bar no longer drawn by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27263 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.cpp')
-rw-r--r-- | utils/themeeditor/graphics/rbscreen.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp index cb69afd906..054e8fee37 100644 --- a/utils/themeeditor/graphics/rbscreen.cpp +++ b/utils/themeeditor/graphics/rbscreen.cpp | |||
@@ -29,8 +29,7 @@ | |||
29 | RBScreen::RBScreen(const RBRenderInfo& info, bool remote, | 29 | RBScreen::RBScreen(const RBRenderInfo& info, bool remote, |
30 | QGraphicsItem *parent) | 30 | QGraphicsItem *parent) |
31 | :QGraphicsItem(parent), backdrop(0), project(project), | 31 | :QGraphicsItem(parent), backdrop(0), project(project), |
32 | albumArt(0), defaultStatusBar(true), | 32 | albumArt(0) |
33 | statusBarTexture(":/render/statusbar.png") | ||
34 | { | 33 | { |
35 | 34 | ||
36 | if(remote) | 35 | if(remote) |
@@ -118,8 +117,6 @@ void RBScreen::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, | |||
118 | painter->fillRect(0, 0, width, height, bgColor); | 117 | painter->fillRect(0, 0, width, height, bgColor); |
119 | } | 118 | } |
120 | 119 | ||
121 | if(defaultStatusBar) | ||
122 | painter->fillRect(QRectF(0, 0, width, 8), statusBarTexture); | ||
123 | } | 120 | } |
124 | 121 | ||
125 | void RBScreen::loadViewport(QString name, RBViewport *view) | 122 | void RBScreen::loadViewport(QString name, RBViewport *view) |