summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-26 12:52:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-26 15:50:04 +0300
commitbae784c3718b2d28bef80ef57f23c47cc4342c64 (patch)
treeb08ec5545fbe97466386a8fa8e4b51a96b61067b /src/gui
parent61756c26fb29c492b6789b3b6a20f9545c97ec0d (diff)
downloadmanaverse-bae784c3718b2d28bef80ef57f23c47cc4342c64.tar.gz
manaverse-bae784c3718b2d28bef80ef57f23c47cc4342c64.tar.bz2
manaverse-bae784c3718b2d28bef80ef57f23c47cc4342c64.tar.xz
manaverse-bae784c3718b2d28bef80ef57f23c47cc4342c64.zip
add basic file uploading.
For now unused.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/serverdialog.cpp3
-rw-r--r--src/gui/windows/updaterwindow.cpp4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index ea30b6a26..3006922c3 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -573,7 +573,8 @@ void ServerDialog::downloadServerList()
mDownload = nullptr;
}
- mDownload = new Net::Download(this, listFile, &downloadUpdate, false);
+ mDownload = new Net::Download(this, listFile,
+ &downloadUpdate, false, 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 6c7799396..eab1bea1b 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -523,12 +523,12 @@ void UpdaterWindow::download()
{
mDownload = new Net::Download(this,
"http://manaplus.org/update/" + mCurrentFile,
- &updateProgress, true);
+ &updateProgress, true, false);
}
else
{
mDownload = new Net::Download(this, std::string(mUpdateHost).append(
- "/").append(mCurrentFile), &updateProgress, false);
+ "/").append(mCurrentFile), &updateProgress, false, false);
}
if (mStoreInMemory)