diff options
Diffstat (limited to 'src/gui/updaterwindow.cpp')
-rw-r--r-- | src/gui/updaterwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp index 71e2a1022..496e651b3 100644 --- a/src/gui/updaterwindow.cpp +++ b/src/gui/updaterwindow.cpp @@ -514,7 +514,7 @@ void UpdaterWindow::download() void UpdaterWindow::loadUpdates() { - ResourceManager *const resman = ResourceManager::getInstance(); + const ResourceManager *const resman = ResourceManager::getInstance(); if (mUpdateFiles.empty()) { // updates not downloaded @@ -540,7 +540,7 @@ void UpdaterWindow::loadUpdates() void UpdaterWindow::loadLocalUpdates(const std::string &dir) { - ResourceManager *const resman = ResourceManager::getInstance(); + const ResourceManager *const resman = ResourceManager::getInstance(); std::vector<updateFile> updateFiles = loadXMLFile(dir + "/" + xmlUpdateFile); @@ -564,7 +564,7 @@ void UpdaterWindow::loadLocalUpdates(const std::string &dir) } void UpdaterWindow::loadManaPlusUpdates(const std::string &dir, - ResourceManager *const resman) + const ResourceManager *const resman) { std::string fixPath = dir + "/fix"; std::vector<updateFile> updateFiles @@ -584,7 +584,7 @@ void UpdaterWindow::loadManaPlusUpdates(const std::string &dir, } } -void UpdaterWindow::addUpdateFile(ResourceManager *const resman, +void UpdaterWindow::addUpdateFile(const ResourceManager *const resman, const std::string &path, const std::string &fixPath, const std::string &file, |