summaryrefslogtreecommitdiff
path: root/src/gui
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/gui
parent0e2c51b6be110939824b198c99eb5166d8ef66b7 (diff)
downloadplus-61756c26fb29c492b6789b3b6a20f9545c97ec0d.tar.gz
plus-61756c26fb29c492b6789b3b6a20f9545c97ec0d.tar.bz2
plus-61756c26fb29c492b6789b3b6a20f9545c97ec0d.tar.xz
plus-61756c26fb29c492b6789b3b6a20f9545c97ec0d.zip
remove default parameter from download object.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/serverdialog.cpp2
-rw-r--r--src/gui/windows/updaterwindow.cpp2
2 files changed, 2 insertions, 2 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)