author | llornkcor <llornkcor> | 2002-03-20 05:29:08 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-20 05:29:08 (UTC) |
commit | ad91f15243333bf968ef5788d12c780746fcffb3 (patch) (unidiff) | |
tree | 85fad92287583c506df59e7a334b7b998fbf126b | |
parent | f1228641b5ee823d309a8e5773e5b6fe94e64a42 (diff) | |
download | opie-ad91f15243333bf968ef5788d12c780746fcffb3.zip opie-ad91f15243333bf968ef5788d12c780746fcffb3.tar.gz opie-ad91f15243333bf968ef5788d12c780746fcffb3.tar.bz2 |
added better configurable background image support
-rw-r--r-- | core/launcher/launcherview.cpp | 5 |
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 | |||
@@ -129,9 +129,8 @@ public: | |||
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 | ||