diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-01-26 01:09:02 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-01-27 19:40:32 +0100 |
commit | f19b3786f3f000a84c8080594e398686e0298ca4 (patch) | |
tree | 11420b0a1301be25b27767559ce727c849933f5a /src/defaults.cpp | |
parent | 5836fb4abac52c53dbdc51d15e030b14eb46fb40 (diff) | |
download | mana-f19b3786f3f000a84c8080594e398686e0298ca4.tar.gz mana-f19b3786f3f000a84c8080594e398686e0298ca4.tar.bz2 mana-f19b3786f3f000a84c8080594e398686e0298ca4.tar.xz mana-f19b3786f3f000a84c8080594e398686e0298ca4.zip |
Made the windows app able to load .ico files at runtime.
Now the icon extension is computed against the os,
except for mac where the behaviour is left untouched.
This means that the 'icons/mana' appIcon branding parameter
will now load icons/mana.png files for unices,
and icons/mana.ico for Windows.
Reviewed-by: Trapdoor.
Resolves: Mana-Mantis: #135.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index f41645a9..e0e48d60 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -132,7 +132,7 @@ DefaultsData* getBrandingDefaults() AddDEF(brandingData, "wallpapersPath", ""); AddDEF(brandingData, "wallpapersFile", ""); AddDEF(brandingData, "appName", "Mana"); - AddDEF(brandingData, "appIcon", "icons/mana.png"); + AddDEF(brandingData, "appIcon", "icons/mana"); AddDEF(brandingData, "loginMusic", "Magick - Real.ogg"); AddDEF(brandingData, "defaultServer", ""); AddDEF(brandingData, "defaultPort", DEFAULT_PORT); |