summaryrefslogtreecommitdiff
path: root/core/launcher
Side-by-side diff
Diffstat (limited to 'core/launcher') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 1598d13..30afe64 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -155,25 +155,25 @@ public:
bgColor = colorGroup().button();
QPainter painter( bg );
// painter.fillRect( QRect( 0, 0, width(), height() ), colorGroup().background().light(110));
painter.fillRect( QRect( 0, 0, width(), height() ), background);
// Overlay the Qtopia logo in the center
QImage logo;
if (QFile::exists(backgroundImage)) {
logo = QImage(backgroundImage);
} else {
logo = Resource::loadImage(backgroundImage );
}
- if ( !logo.isNull() )
+ if ( !logo.isNull() && config.readBoolEntry( "UseBackgroundImage", TRUE ) )
painter.drawImage( (width() - logo.width()) / 2,
(height() - logo.height()) / 2, logo );
}
// Draw the double buffer to the widget (it is tiled for when the icon view is large)
p->drawTiledPixmap( r, *bg, QPoint( (r.x() + contentsX()) % bg->width(),
(r.y() + contentsY()) % bg->height() ) );
} else if ( backgroundMode == 2 ) {
static QPixmap *bg = 0;
static QColor bgColor;
if ( !bg || (bgColor != colorGroup().background()) ) {
bgColor = colorGroup().background();