diff options
Diffstat (limited to 'logic/tasks/SequentialTask.h')
-rw-r--r-- | logic/tasks/SequentialTask.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/tasks/SequentialTask.h b/logic/tasks/SequentialTask.h index 7f046928..c405dca3 100644 --- a/logic/tasks/SequentialTask.h +++ b/logic/tasks/SequentialTask.h @@ -14,7 +14,7 @@ public: virtual QString getStatus() const; virtual void getProgress(qint64 ¤t, qint64 &total); - void addTask(std::shared_ptr<Task> task); + void addTask(std::shared_ptr<ProgressProvider> task); protected: void executeTask(); @@ -27,6 +27,6 @@ slots: void subTaskProgress(); private: - QQueue<std::shared_ptr<Task> > m_queue; + QQueue<std::shared_ptr<ProgressProvider> > m_queue; int m_currentIndex; }; |