remove task parent from constuctor
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
ba07a136dc
commit
2b590f24ed
56 changed files with 86 additions and 113 deletions
|
@ -38,7 +38,7 @@
|
|||
#include <QDebug>
|
||||
#include "tasks/Task.h"
|
||||
|
||||
ConcurrentTask::ConcurrentTask(QObject* parent, QString task_name, int max_concurrent) : Task(parent), m_total_max_size(max_concurrent)
|
||||
ConcurrentTask::ConcurrentTask(QString task_name, int max_concurrent) : Task(), m_total_max_size(max_concurrent)
|
||||
{
|
||||
setObjectName(task_name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue