GH-1949 Allow ATLauncher pack downloads to be aborted
This commit is contained in:
parent
d5c4489313
commit
220971fadd
2 changed files with 15 additions and 1 deletions
|
@ -39,6 +39,7 @@ public:
|
|||
explicit PackInstallTask(UserInteractionSupport *support, QString pack, QString version);
|
||||
virtual ~PackInstallTask(){}
|
||||
|
||||
bool canAbort() const override { return true; }
|
||||
bool abort() override;
|
||||
|
||||
protected:
|
||||
|
@ -72,6 +73,8 @@ private:
|
|||
private:
|
||||
UserInteractionSupport *m_support;
|
||||
|
||||
bool abortable = false;
|
||||
|
||||
NetJobPtr jobPtr;
|
||||
QByteArray response;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue