From 4a24ea6c38015a1a1d937c85b9caedaf5ce251d8 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 23 Mar 2014 19:07:13 +0100 Subject: Make some more error messages translateable. --- logic/tasks/Task.cpp | 4 ++-- logic/tasks/Task.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'logic/tasks') 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; -- cgit