summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-06 23:15:13 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-06 23:16:10 +0100
commit762bd357756e35b0a25cc6a66a890dfedb1f6596 (patch)
treeaaeb26a1b3cb527b0f2f860defbce4f74e08059a /src/gui/widgets/desktop.cpp
parent367b2e8b01c42c34c7782c4410db359c2b3ca060 (diff)
downloadmana-client-762bd357756e35b0a25cc6a66a890dfedb1f6596.tar.gz
mana-client-762bd357756e35b0a25cc6a66a890dfedb1f6596.tar.bz2
mana-client-762bd357756e35b0a25cc6a66a890dfedb1f6596.tar.xz
mana-client-762bd357756e35b0a25cc6a66a890dfedb1f6596.zip
Some cleanups in the initialization of wallpaper paths
The 'paths' configuration in client-data now overrides any configuration in 'branding', so that it will apply after the updates for a certain server have been downloaded. Also, some isDirectory checks have been removed. When the configuration is wrong, it's probably better to see that there is a problem. Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r--src/gui/widgets/desktop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index d0e2a498..bf833898 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -67,7 +67,7 @@ void Desktop::reloadWallpaper()
setBestFittingWallpaper();
}
-void Desktop::widgetResized(const gcn::Event &event)
+void Desktop::widgetResized(const gcn::Event &)
{
setBestFittingWallpaper();
}