diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 20:11:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 20:11:54 +0300 |
commit | 2f32dca480e873a5bcc0f91f76b2490cd1bec0a9 (patch) | |
tree | 1122925e4407979234daddcf63551bad6c704188 /src/gui/windows | |
parent | 1f79d44ff9a74d6cb507ac998a01fc3acbc55651 (diff) | |
download | manaverse-2f32dca480e873a5bcc0f91f76b2490cd1bec0a9.tar.gz manaverse-2f32dca480e873a5bcc0f91f76b2490cd1bec0a9.tar.bz2 manaverse-2f32dca480e873a5bcc0f91f76b2490cd1bec0a9.tar.xz manaverse-2f32dca480e873a5bcc0f91f76b2490cd1bec0a9.zip |
Remove default parameter from download.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index a5a6885ad..c52912e2d 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -469,7 +469,8 @@ void ServerDialog::downloadServerList() mDownload = new Net::Download(this, listFile, &downloadUpdate, false, false, true); mDownload->setFile(pathJoin(mDir, - branding.getStringValue("onlineServerFile"))); + branding.getStringValue("onlineServerFile")), + -1); if (!listFile2.empty()) mDownload->addMirror(listFile2); mDownload->start(); diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 3acc930dc..6ca35ff9d 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -636,7 +636,8 @@ void UpdaterWindow::download() else { mDownload->setFile(pathJoin(mUpdatesDir, - mCurrentFile)); + mCurrentFile), + -1); } } |