Make some more error messages translateable.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user