diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-05-12 09:47:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 09:47:19 +0200 |
commit | c5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f (patch) | |
tree | b261ced954e5cccc7dd0f27d880689174a692d3b /launcher/modplatform/technic | |
parent | ce5bb29c442cee3654c5f4287a999d5d6593032f (diff) | |
parent | b16829b0f9a24dba9d4c9582f82affb30a416f1b (diff) | |
download | PrismLauncher-c5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f.tar.gz PrismLauncher-c5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f.tar.bz2 PrismLauncher-c5aff7cc1ef43a1326bd3ce0c83e29669e2ff43f.zip |
Merge pull request #961 from Ryex/better-tasks
Diffstat (limited to 'launcher/modplatform/technic')
-rw-r--r-- | launcher/modplatform/technic/SingleZipPackInstallTask.cpp | 1 | ||||
-rw-r--r-- | launcher/modplatform/technic/SolderPackInstallTask.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/launcher/modplatform/technic/SingleZipPackInstallTask.cpp b/launcher/modplatform/technic/SingleZipPackInstallTask.cpp index 8fd43d21..f07ca24a 100644 --- a/launcher/modplatform/technic/SingleZipPackInstallTask.cpp +++ b/launcher/modplatform/technic/SingleZipPackInstallTask.cpp @@ -50,6 +50,7 @@ void Technic::SingleZipPackInstallTask::executeTask() auto job = m_filesNetJob.get(); connect(job, &NetJob::succeeded, this, &Technic::SingleZipPackInstallTask::downloadSucceeded); connect(job, &NetJob::progress, this, &Technic::SingleZipPackInstallTask::downloadProgressChanged); + connect(job, &NetJob::stepProgress, this, &Technic::SingleZipPackInstallTask::propogateStepProgress); connect(job, &NetJob::failed, this, &Technic::SingleZipPackInstallTask::downloadFailed); m_filesNetJob->start(); } diff --git a/launcher/modplatform/technic/SolderPackInstallTask.cpp b/launcher/modplatform/technic/SolderPackInstallTask.cpp index 77c503f0..c26d6a5a 100644 --- a/launcher/modplatform/technic/SolderPackInstallTask.cpp +++ b/launcher/modplatform/technic/SolderPackInstallTask.cpp @@ -127,6 +127,7 @@ void Technic::SolderPackInstallTask::fileListSucceeded() connect(m_filesNetJob.get(), &NetJob::succeeded, this, &Technic::SolderPackInstallTask::downloadSucceeded); connect(m_filesNetJob.get(), &NetJob::progress, this, &Technic::SolderPackInstallTask::downloadProgressChanged); + connect(m_filesNetJob.get(), &NetJob::stepProgress, this, &Technic::SolderPackInstallTask::propogateStepProgress); connect(m_filesNetJob.get(), &NetJob::failed, this, &Technic::SolderPackInstallTask::downloadFailed); connect(m_filesNetJob.get(), &NetJob::aborted, this, &Technic::SolderPackInstallTask::downloadAborted); m_filesNetJob->start(); |