summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-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);
}
}