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/atlauncher | |
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/atlauncher')
-rw-r--r-- | launcher/modplatform/atlauncher/ATLPackInstallTask.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/modplatform/atlauncher/ATLPackInstallTask.cpp b/launcher/modplatform/atlauncher/ATLPackInstallTask.cpp index 4bd8b7f2..96cea7b7 100644 --- a/launcher/modplatform/atlauncher/ATLPackInstallTask.cpp +++ b/launcher/modplatform/atlauncher/ATLPackInstallTask.cpp @@ -683,6 +683,7 @@ void PackInstallTask::installConfigs() abortable = true; setProgress(current, total); }); + connect(jobPtr.get(), &NetJob::stepProgress, this, &PackInstallTask::propogateStepProgress); connect(jobPtr.get(), &NetJob::aborted, [&]{ abortable = false; jobPtr.reset(); @@ -846,9 +847,11 @@ void PackInstallTask::downloadMods() }); connect(jobPtr.get(), &NetJob::progress, [&](qint64 current, qint64 total) { + setDetails(tr("%1 out of %2 complete").arg(current).arg(total)); abortable = true; setProgress(current, total); }); + connect(jobPtr.get(), &NetJob::stepProgress, this, &PackInstallTask::propogateStepProgress); connect(jobPtr.get(), &NetJob::aborted, [&] { abortable = false; |