diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-06-07 23:42:22 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-06-09 00:03:42 +0200 |
commit | 166813cb918ebd029325e12377989bfdc2021074 (patch) | |
tree | 19a1a5a7e3503ccb85c9ac46bcb45e1bef19361e /logic/updater/DownloadTask.cpp | |
parent | 38e42ad79493afb759181fa5cead90c9b3483655 (diff) | |
download | MultiMC-166813cb918ebd029325e12377989bfdc2021074.tar MultiMC-166813cb918ebd029325e12377989bfdc2021074.tar.gz MultiMC-166813cb918ebd029325e12377989bfdc2021074.tar.lz MultiMC-166813cb918ebd029325e12377989bfdc2021074.tar.xz MultiMC-166813cb918ebd029325e12377989bfdc2021074.zip |
GH-1060 remove some old updater bits and pieces
Diffstat (limited to 'logic/updater/DownloadTask.cpp')
-rw-r--r-- | logic/updater/DownloadTask.cpp | 7 |
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; |