diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-06-26 01:14:32 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-06-26 01:14:32 +0200 |
commit | 89d3a66658ebdb16582a4d7a2cab57cfd6906393 (patch) | |
tree | f3b4daf14a18db76de1b9998da16b505b3872d10 /application/widgets | |
parent | 2973b11d3edf47fe437af4dd1dc1a5f250c49ba3 (diff) | |
download | MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.tar MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.tar.gz MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.tar.lz MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.tar.xz MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.zip |
NOISSUE some safe refactors and changes of the task subsystem
Possibly also some bug fixes.
Diffstat (limited to 'application/widgets')
-rw-r--r-- | application/widgets/ProgressWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/widgets/ProgressWidget.cpp b/application/widgets/ProgressWidget.cpp index bd5967a3..fab099a9 100644 --- a/application/widgets/ProgressWidget.cpp +++ b/application/widgets/ProgressWidget.cpp @@ -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()); } |