NOISSUE more refactoring

This commit is contained in:
Petr Mrázek
2021-11-21 23:36:55 +01:00
parent 69213b1206
commit 9fc677c2a4
21 changed files with 33 additions and 32 deletions

View File

@ -12,7 +12,7 @@ public:
explicit SequentialTask(QObject *parent = 0);
virtual ~SequentialTask() {};
void addTask(shared_qobject_ptr<Task> task);
void addTask(Task::Ptr task);
protected:
void executeTask();
@ -25,6 +25,6 @@ slots:
void subTaskProgress(qint64 current, qint64 total);
private:
QQueue<shared_qobject_ptr<Task> > m_queue;
QQueue<Task::Ptr > m_queue;
int m_currentIndex;
};