summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2007-08-26 10:27:11 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2007-08-26 10:27:11 +0000
commit8b899495cdcf6d247e1c3446ef5f6af119c396b8 (patch)
treeb277264f0e322358e7a0a76b007fed14fff8cc1c /src/gui/updatewindow.cpp
parent2debd445c71e65265359b6471795cab2cb2c7086 (diff)
downloadmana-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.cpp4
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();