summaryrefslogtreecommitdiffstats
path: root/logic/updater/DownloadTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/updater/DownloadTask.cpp')
-rw-r--r--logic/updater/DownloadTask.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/logic/updater/DownloadTask.cpp b/logic/updater/DownloadTask.cpp
index f19607a5..352f1f0d 100644
--- a/logic/updater/DownloadTask.cpp
+++ b/logic/updater/DownloadTask.cpp
@@ -35,11 +35,6 @@ DownloadTask::DownloadTask(Status status, QObject *parent)
m_updateFilesDir.setAutoRemove(false);
}
-void DownloadTask::setUseLocalUpdater(bool useLocal)
-{
- m_keepLocalUpdater = useLocal;
-}
-
void DownloadTask::executeTask()
{
loadVersionInfo();
@@ -130,7 +125,7 @@ void DownloadTask::processDownloadedVersionInfo()
NetJobPtr netJob (new NetJob("Update Files"));
// fill netJob and operationList
- if (!processFileLists(m_currentVersionFileList, m_newVersionFileList, m_status.rootPath, m_updateFilesDir.path(), netJob, operationList, m_keepLocalUpdater))
+ if (!processFileLists(m_currentVersionFileList, m_newVersionFileList, m_status.rootPath, m_updateFilesDir.path(), netJob, operationList))
{
emitFailed(tr("Failed to process update lists..."));
return;