aboutsummaryrefslogtreecommitdiff
path: root/launcher/ResourceDownloadTask.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-05-14 14:20:24 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-05-14 14:20:24 +0300
commitffcc58cb3e89c502cfc12183d091dd9719ab436c (patch)
treef247a5b6d21cf71ea46782286fadde926db61d84 /launcher/ResourceDownloadTask.cpp
parentef6cbdfa2ade6a5f1ccb7253c1647ce1e9d5442d (diff)
parentd5c6a1b4d1e6d052e42366d19ffa0047168e030d (diff)
downloadPrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.tar.gz
PrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.tar.bz2
PrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
Diffstat (limited to 'launcher/ResourceDownloadTask.cpp')
-rw-r--r--launcher/ResourceDownloadTask.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/ResourceDownloadTask.cpp b/launcher/ResourceDownloadTask.cpp
index f7d3487a..d9ddfa00 100644
--- a/launcher/ResourceDownloadTask.cpp
+++ b/launcher/ResourceDownloadTask.cpp
@@ -54,6 +54,7 @@ ResourceDownloadTask::ResourceDownloadTask(ModPlatform::IndexedPack pack,
m_filesNetJob->addNetAction(Net::Download::makeFile(m_pack_version.downloadUrl, dir.absoluteFilePath(getFilename())));
connect(m_filesNetJob.get(), &NetJob::succeeded, this, &ResourceDownloadTask::downloadSucceeded);
connect(m_filesNetJob.get(), &NetJob::progress, this, &ResourceDownloadTask::downloadProgressChanged);
+ connect(m_filesNetJob.get(), &NetJob::stepProgress, this, &ResourceDownloadTask::propogateStepProgress);
connect(m_filesNetJob.get(), &NetJob::failed, this, &ResourceDownloadTask::downloadFailed);
addTask(m_filesNetJob);