From c2c56a2f6ceaedb8a3fa88c848b345db0fec7f9c Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sat, 20 Nov 2021 17:08:34 +0100 Subject: NOISSUE fix build --- launcher/tasks/SequentialTask.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'launcher/tasks/SequentialTask.h') diff --git a/launcher/tasks/SequentialTask.h b/launcher/tasks/SequentialTask.h index 6898c8a6..e3091176 100644 --- a/launcher/tasks/SequentialTask.h +++ b/launcher/tasks/SequentialTask.h @@ -1,9 +1,9 @@ #pragma once #include "Task.h" +#include "QObjectPtr.h" #include -#include class SequentialTask : public Task { @@ -12,7 +12,7 @@ public: explicit SequentialTask(QObject *parent = 0); virtual ~SequentialTask() {}; - void addTask(std::shared_ptr task); + void addTask(shared_qobject_ptr task); protected: void executeTask(); @@ -25,6 +25,6 @@ slots: void subTaskProgress(qint64 current, qint64 total); private: - QQueue > m_queue; + QQueue > m_queue; int m_currentIndex; }; -- cgit