NOISSUE some safe refactors and changes of the task subsystem

Possibly also some bug fixes.
This commit is contained in:
Petr Mrázek
2017-06-26 01:14:32 +02:00
parent 2973b11d3e
commit 89d3a66658
18 changed files with 94 additions and 167 deletions

View File

@ -83,7 +83,7 @@ void LaunchTask::onStepFinished()
}
auto step = m_steps[currentStep];
if(step->successful())
if(step->wasSuccessful())
{
// end?
if(currentStep == m_steps.size() - 1)

View File

@ -42,7 +42,7 @@ void Update::proceed()
void Update::updateFinished()
{
if(m_updateTask->successful())
if(m_updateTask->wasSuccessful())
{
m_updateTask.reset();
emitSucceeded();