Make some more error messages translateable.

This commit is contained in:
Petr Mrázek
2014-03-23 19:07:13 +01:00
parent a01b1707de
commit 4a24ea6c38
10 changed files with 26 additions and 20 deletions

View File

@ -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);
}

View File

@ -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;