-rw-r--r-- | core/launcher/launcherview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index cd336d2..7f86ce1 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp | |||
@@ -122,25 +122,25 @@ public: | |||
122 | if (sl>=0) { | 122 | if (sl>=0) { |
123 | QString k = maj.left(sl); | 123 | QString k = maj.left(sl); |
124 | mimes.replace(k,(void*)1); | 124 | mimes.replace(k,(void*)1); |
125 | } | 125 | } |
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"); |
133 | 133 | ||
134 | if (backgroundImage.isNull()) backgroundImage="opie-background"; | 134 | if (backgroundImage.isNull()) backgroundImage="launcher/opie-background"; |
135 | int backgroundMode = QPixmap::defaultDepth() >= 12 ? 1 : 0; | 135 | int backgroundMode = QPixmap::defaultDepth() >= 12 ? 1 : 0; |
136 | //int backgroundMode = 2; | 136 | //int backgroundMode = 2; |
137 | 137 | ||
138 | if ( backgroundMode == 1 ) { | 138 | if ( backgroundMode == 1 ) { |
139 | 139 | ||
140 | // Double buffer the background | 140 | // Double buffer the background |
141 | static QPixmap *bg = NULL; | 141 | static QPixmap *bg = NULL; |
142 | static QColor bgColor; | 142 | static QColor bgColor; |
143 | 143 | ||
144 | if ( (bg == NULL) || (bgColor != colorGroup().button()) ) { | 144 | if ( (bg == NULL) || (bgColor != colorGroup().button()) ) { |
145 | // Create a new background double buffer | 145 | // Create a new background double buffer |
146 | if (bg == NULL) | 146 | if (bg == NULL) |