summaryrefslogtreecommitdiffstats
path: root/api/logic/tasks/Task.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/tasks/Task.cpp')
-rw-r--r--api/logic/tasks/Task.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/logic/tasks/Task.cpp b/api/logic/tasks/Task.cpp
index 4e468b04..23ee08e4 100644
--- a/api/logic/tasks/Task.cpp
+++ b/api/logic/tasks/Task.cpp
@@ -21,12 +21,12 @@ Task::Task(QObject *parent) : QObject(parent)
{
}
-void Task::setStatusText(const QString &new_status)
+void Task::setStatus(const QString &new_status)
{
- if(m_statusText != new_status)
+ if(m_status != new_status)
{
- m_statusText = new_status;
- emit status(m_statusText);
+ m_status = new_status;
+ emit status(m_status);
}
}