fix: bogus progress update when the total step progress was zero
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
369a8cdc74
commit
a720bcc637
@ -132,11 +132,6 @@ void ConcurrentTask::subTaskStatus(const QString& msg)
|
||||
|
||||
void ConcurrentTask::subTaskProgress(qint64 current, qint64 total)
|
||||
{
|
||||
if (total == 0) {
|
||||
setProgress(0, 100);
|
||||
return;
|
||||
}
|
||||
|
||||
m_stepProgress = current;
|
||||
m_stepTotalProgress = total;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user