diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-12-19 15:35:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-19 15:35:34 +0100 |
commit | df1b7f165662823795626ec82d0f3d53c668a88f (patch) | |
tree | c729b39a03657a9a026b891f5e3d0a1b91fb78ec /launcher/tasks/MultipleOptionsTask.cpp | |
parent | 11c8237d8bddbf1fe371f6bc6c2cbc9f07e66e51 (diff) | |
parent | 81fedbf03c9218f04b0908b474c32005414e3600 (diff) | |
download | PrismLauncher-df1b7f165662823795626ec82d0f3d53c668a88f.tar.gz PrismLauncher-df1b7f165662823795626ec82d0f3d53c668a88f.tar.bz2 PrismLauncher-df1b7f165662823795626ec82d0f3d53c668a88f.zip |
Merge pull request #628 from flowln/fix_multiple_resource_packs_crash
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/624
Diffstat (limited to 'launcher/tasks/MultipleOptionsTask.cpp')
-rw-r--r-- | launcher/tasks/MultipleOptionsTask.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/tasks/MultipleOptionsTask.cpp b/launcher/tasks/MultipleOptionsTask.cpp index 5ad6181f..034499df 100644 --- a/launcher/tasks/MultipleOptionsTask.cpp +++ b/launcher/tasks/MultipleOptionsTask.cpp @@ -22,6 +22,6 @@ void MultipleOptionsTask::startNext() void MultipleOptionsTask::updateState() { - setProgress(m_done.count(), m_total_size); - setStatus(tr("Attempting task %1 out of %2").arg(QString::number(m_doing.count() + m_done.count()), QString::number(m_total_size))); + setProgress(m_done.count(), totalSize()); + setStatus(tr("Attempting task %1 out of %2").arg(QString::number(m_doing.count() + m_done.count()), QString::number(totalSize()))); } |