From 61756c26fb29c492b6789b3b6a20f9545c97ec0d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Jan 2014 19:54:53 +0300 Subject: remove default parameter from download object. --- src/gui/windows/serverdialog.cpp | 2 +- src/gui/windows/updaterwindow.cpp | 2 +- src/net/download.h | 2 +- 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) -- cgit v1.2.3-70-g09d2