From 8b899495cdcf6d247e1c3446ef5f6af119c396b8 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Sun, 26 Aug 2007 10:27:11 +0000 Subject: Removed home dir from config file to avoid encoding issues. --- src/gui/updatewindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui') 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(); -- cgit v1.2.3-70-g09d2