diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-10-28 15:41:40 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-10-28 15:41:40 +0000 |
commit | 0bd8852546e9afbe819f0c60c333a8bcb6a7418d (patch) | |
tree | 71341be4c0c9db24dbc0b3657a567b7897d963d0 /src/main.cpp | |
parent | 95cdf6401191b9d44647700f00503889929e3a4b (diff) | |
download | mana-client-0bd8852546e9afbe819f0c60c333a8bcb6a7418d.tar.gz mana-client-0bd8852546e9afbe819f0c60c333a8bcb6a7418d.tar.bz2 mana-client-0bd8852546e9afbe819f0c60c333a8bcb6a7418d.tar.xz mana-client-0bd8852546e9afbe819f0c60c333a8bcb6a7418d.zip |
Reload wallpaper after updates are done.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 08fc7a56..82620c05 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -607,6 +607,10 @@ int main(int argc, char *argv[]) { case UPDATE_STATE: loadUpdates(); + // Reload the wallpaper in case that it was updated + login_wallpaper->decRef(); + login_wallpaper = ResourceManager::getInstance()-> + getImage("graphics/images/login_wallpaper.png"); break; // Those states don't cause a network disconnect |