summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-23 19:54:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-23 19:54:53 +0300
commit61756c26fb29c492b6789b3b6a20f9545c97ec0d (patch)
treee7c584292a2c70b4a650229eb573424c82a9bc92 /src
parent0e2c51b6be110939824b198c99eb5166d8ef66b7 (diff)
downloadmanaplus-61756c26fb29c492b6789b3b6a20f9545c97ec0d.tar.gz
manaplus-61756c26fb29c492b6789b3b6a20f9545c97ec0d.tar.bz2
manaplus-61756c26fb29c492b6789b3b6a20f9545c97ec0d.tar.xz
manaplus-61756c26fb29c492b6789b3b6a20f9545c97ec0d.zip
remove default parameter from download object.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/serverdialog.cpp2
-rw-r--r--src/gui/windows/updaterwindow.cpp2
-rw-r--r--src/net/download.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 2a1ec8314..ea30b6a26 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -573,7 +573,7 @@ void ServerDialog::downloadServerList()
mDownload = nullptr;
}
- mDownload = new Net::Download(this, listFile, &downloadUpdate);
+ mDownload = new Net::Download(this, listFile, &downloadUpdate, false);
mDownload->setFile(std::string(mDir).append("/").append(
branding.getStringValue("onlineServerFile")));
mDownload->start();
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index 584f8e90e..6c7799396 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -528,7 +528,7 @@ void UpdaterWindow::download()
else
{
mDownload = new Net::Download(this, std::string(mUpdateHost).append(
- "/").append(mCurrentFile), &updateProgress);
+ "/").append(mCurrentFile), &updateProgress, false);
}
if (mStoreInMemory)
diff --git a/src/net/download.h b/src/net/download.h
index 4fe0f67db..d4883f0ca 100644
--- a/src/net/download.h
+++ b/src/net/download.h
@@ -55,7 +55,7 @@ class Download final
public:
Download(void *const ptr, const std::string &url,
const DownloadUpdate updateFunction,
- const bool ignoreError = false);
+ const bool ignoreError);
A_DELETE_COPY(Download)