NOISSUE refactor NetAction to be based on Task
Still missing some things, this is part 1.
This commit is contained in:
parent
243f7e4fb4
commit
e1465f4848
42 changed files with 299 additions and 314 deletions
|
@ -21,12 +21,12 @@ Task::Task(QObject *parent) : QObject(parent)
|
|||
{
|
||||
}
|
||||
|
||||
void Task::setStatus(const QString &new_status)
|
||||
void Task::setStatusText(const QString &new_status)
|
||||
{
|
||||
if(m_status != new_status)
|
||||
if(m_statusText != new_status)
|
||||
{
|
||||
m_status = new_status;
|
||||
emit status(m_status);
|
||||
m_statusText = new_status;
|
||||
emit status(m_statusText);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue