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:
parent
43b9db6e45
commit
882c82f82c
2 changed files with 16 additions and 6 deletions
|
@ -44,4 +44,6 @@ protected:
|
|||
|
||||
qint64 m_stepProgress = 0;
|
||||
qint64 m_stepTotalProgress = 100;
|
||||
|
||||
bool m_aborted = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue