diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-08-26 10:27:11 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-08-26 10:27:11 +0000 |
commit | 8b899495cdcf6d247e1c3446ef5f6af119c396b8 (patch) | |
tree | b277264f0e322358e7a0a76b007fed14fff8cc1c /src/gui/updatewindow.cpp | |
parent | 2debd445c71e65265359b6471795cab2cb2c7086 (diff) | |
download | mana-8b899495cdcf6d247e1c3446ef5f6af119c396b8.tar.gz mana-8b899495cdcf6d247e1c3446ef5f6af119c396b8.tar.bz2 mana-8b899495cdcf6d247e1c3446ef5f6af119c396b8.tar.xz mana-8b899495cdcf6d247e1c3446ef5f6af119c396b8.zip |
Removed home dir from config file to avoid encoding issues.
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r-- | src/gui/updatewindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 8e105844..183adc93 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -46,6 +46,8 @@ #include "../resources/resourcemanager.h" +extern std::string homeDir; + /** * Calculates the Alder-32 checksum for the given file. */ @@ -119,7 +121,7 @@ UpdaterWindow::UpdaterWindow(): mUpdateHost = config.getValue("updatehost", "http://updates.themanaworld.org"); - mBasePath = config.getValue("homeDir", "."); + mBasePath = homeDir; // Try to download the updates list download(); |