fix: allow aborting CF modpack importing

This commit is contained in:
flow 2022-04-07 18:56:34 -03:00
parent be2512bb4b
commit 167e32a69f
No known key found for this signature in database
GPG key ID: 8D0F221F0A59F469
2 changed files with 11 additions and 0 deletions

View file

@ -37,6 +37,9 @@ class InstanceImportTask : public InstanceTask
public:
explicit InstanceImportTask(const QUrl sourceUrl);
bool canAbort() const override { return true; }
bool abort() override;
protected:
//! Entry point for tasks.
virtual void executeTask() override;