GH-1949 Allow Legacy FTB pack downloads to be aborted

It looks like this was just an mistake when implementing support for
legacy FTB.
This commit is contained in:
Jamie Mansfield 2021-07-06 15:10:35 +01:00
parent 417994735a
commit d1a142f040
No known key found for this signature in database
GPG Key ID: 36F61598F39F67B0

View File

@ -20,6 +20,7 @@ public:
explicit PackInstallTask(Modpack pack, QString version); explicit PackInstallTask(Modpack pack, QString version);
virtual ~PackInstallTask(){} virtual ~PackInstallTask(){}
bool canAbort() const override { return true; }
bool abort() override; bool abort() override;
protected: protected: