diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-03-23 19:07:13 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-03-23 19:07:13 +0100 |
commit | 4a24ea6c38015a1a1d937c85b9caedaf5ce251d8 (patch) | |
tree | 4c628e713593b2d3ec416fe1decdcb1b8cc14b87 /logic/tasks | |
parent | a01b1707deee6ee1a8e5102ad991368da3312259 (diff) | |
download | MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.tar MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.tar.gz MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.tar.lz MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.tar.xz MultiMC-4a24ea6c38015a1a1d937c85b9caedaf5ce251d8.zip |
Make some more error messages translateable.
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; |