aboutsummaryrefslogtreecommitdiff
path: root/launcher/tasks/Task.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-04-07 13:01:45 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-01 10:48:00 -0700
commitd7032d975cb71bbf69d1dcd6a916db85ceb7619c (patch)
treeb1165e670b6d0a79406d2480071ae470e7bdd66f /launcher/tasks/Task.h
parent96decbac27b364e0ffdcb20c40b08a79b827be00 (diff)
downloadPrismLauncher-d7032d975cb71bbf69d1dcd6a916db85ceb7619c.tar.gz
PrismLauncher-d7032d975cb71bbf69d1dcd6a916db85ceb7619c.tar.bz2
PrismLauncher-d7032d975cb71bbf69d1dcd6a916db85ceb7619c.zip
fix: no need to loop all sub tasks
pathc by flowin Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/tasks/Task.h')
-rw-r--r--launcher/tasks/Task.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/tasks/Task.h b/launcher/tasks/Task.h
index 9ae70270..d71eaf6b 100644
--- a/launcher/tasks/Task.h
+++ b/launcher/tasks/Task.h
@@ -57,6 +57,10 @@ struct TaskStepProgress {
QUuid uid;
qint64 current = 0;
qint64 total = -1;
+
+ qint64 old_current = 0;
+ qint64 old_total = -1;
+
QString status = "";
QString details = "";
TaskStepState state = TaskStepState::Waiting;