summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)