remove task parent from constuctor

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-10-28 19:13:14 +02:00
parent ba07a136dc
commit 2b590f24ed
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
56 changed files with 86 additions and 113 deletions

View file

@ -48,7 +48,7 @@ class ConcurrentTask : public Task {
public:
using Ptr = shared_qobject_ptr<ConcurrentTask>;
explicit ConcurrentTask(QObject* parent = nullptr, QString task_name = "", int max_concurrent = 6);
explicit ConcurrentTask(QString task_name = "", int max_concurrent = 6);
~ConcurrentTask() override;
// safe to call before starting the task