NOISSUE some safe refactors and changes of the task subsystem
Possibly also some bug fixes.
This commit is contained in:
parent
2973b11d3e
commit
89d3a66658
18 changed files with 94 additions and 167 deletions
|
@ -48,12 +48,12 @@ bool ProgressWidget::exec(std::shared_ptr<Task> task)
|
|||
{
|
||||
loop.exec();
|
||||
}
|
||||
return task->successful();
|
||||
return task->wasSuccessful();
|
||||
}
|
||||
|
||||
void ProgressWidget::handleTaskFinish()
|
||||
{
|
||||
if (!m_task->successful())
|
||||
if (!m_task->wasSuccessful())
|
||||
{
|
||||
m_label->setText(m_task->failReason());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue