mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
NOISSUE fix build
This commit is contained in:
parent
0c861db7a2
commit
c2c56a2f6c
3 changed files with 8 additions and 8 deletions
|
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include "Task.h"
|
||||
#include "QObjectPtr.h"
|
||||
|
||||
#include <QQueue>
|
||||
#include <memory>
|
||||
|
||||
class SequentialTask : public Task
|
||||
{
|
||||
|
|
@ -12,7 +12,7 @@ public:
|
|||
explicit SequentialTask(QObject *parent = 0);
|
||||
virtual ~SequentialTask() {};
|
||||
|
||||
void addTask(std::shared_ptr<Task> task);
|
||||
void addTask(shared_qobject_ptr<Task> task);
|
||||
|
||||
protected:
|
||||
void executeTask();
|
||||
|
|
@ -25,6 +25,6 @@ slots:
|
|||
void subTaskProgress(qint64 current, qint64 total);
|
||||
|
||||
private:
|
||||
QQueue<std::shared_ptr<Task> > m_queue;
|
||||
QQueue<shared_qobject_ptr<Task> > m_queue;
|
||||
int m_currentIndex;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue