mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03:00
GH-1060 remove some old updater bits and pieces
This commit is contained in:
parent
38e42ad794
commit
166813cb91
15 changed files with 28 additions and 169 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue