fix: always update global progress of sequential tasks

Previously, it would not update the global counter if the subTask didn't
update its progress, even though progress was being made.

This also prevents a segmentation fault while aborting the task.

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-05-09 10:53:52 -03:00
committed by flow
parent 43b9db6e45
commit 882c82f82c
2 changed files with 16 additions and 6 deletions

View File

@ -44,4 +44,6 @@ protected:
qint64 m_stepProgress = 0;
qint64 m_stepTotalProgress = 100;
bool m_aborted = false;
};