summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 20:11:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 20:11:54 +0300
commit2f32dca480e873a5bcc0f91f76b2490cd1bec0a9 (patch)
tree1122925e4407979234daddcf63551bad6c704188 /src/gui/windows
parent1f79d44ff9a74d6cb507ac998a01fc3acbc55651 (diff)
downloadmv-2f32dca480e873a5bcc0f91f76b2490cd1bec0a9.tar.gz
mv-2f32dca480e873a5bcc0f91f76b2490cd1bec0a9.tar.bz2
mv-2f32dca480e873a5bcc0f91f76b2490cd1bec0a9.tar.xz
mv-2f32dca480e873a5bcc0f91f76b2490cd1bec0a9.zip
Remove default parameter from download.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/serverdialog.cpp3
-rw-r--r--src/gui/windows/updaterwindow.cpp3
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);
}
}