summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 7f86ce1..6354bb7 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -126,15 +126,14 @@ public:
126 } 126 }
127 127
128 void drawBackground( QPainter *p, const QRect &r ) 128 void drawBackground( QPainter *p, const QRect &r )
129 { 129 {
130 Config config("qpe"); 130 Config config("qpe");
131 config.setGroup("Appearance"); 131 config.setGroup("Appearance");
132 QString backgroundImage = config.readEntry("BackgroundImage"); 132 QString backgroundImage = config.readEntry("BackgroundImage","launcher/opie-background");
133 133 // if (backgroundImage.isNull()) backgroundImage="launcher/opie-background";
134 if (backgroundImage.isNull()) backgroundImage="launcher/opie-background";
135 int backgroundMode = QPixmap::defaultDepth() >= 12 ? 1 : 0; 134 int backgroundMode = QPixmap::defaultDepth() >= 12 ? 1 : 0;
136 //int backgroundMode = 2; 135 //int backgroundMode = 2;
137 136
138 if ( backgroundMode == 1 ) { 137 if ( backgroundMode == 1 ) {
139 138
140 // Double buffer the background 139 // Double buffer the background