diff options
Diffstat (limited to 'logic/tasks')
-rw-r--r-- | logic/tasks/Task.cpp | 4 | ||||
-rw-r--r-- | logic/tasks/Task.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/logic/tasks/Task.cpp b/logic/tasks/Task.cpp index cb7a5443..c980d6b3 100644 --- a/logic/tasks/Task.cpp +++ b/logic/tasks/Task.cpp @@ -22,12 +22,12 @@ Task::Task(QObject *parent) : ProgressProvider(parent) QString Task::getStatus() const { - return m_status; + return m_statusString; } void Task::setStatus(const QString &new_status) { - m_status = new_status; + m_statusString = new_status; emit status(new_status); } diff --git a/logic/tasks/Task.h b/logic/tasks/Task.h index 80d5e38b..84775407 100644 --- a/logic/tasks/Task.h +++ b/logic/tasks/Task.h @@ -58,7 +58,7 @@ slots: void setProgress(int progress); protected: - QString m_status; + QString m_statusString; int m_progress = 0; bool m_running = false; bool m_succeeded = false; |