fix java download tasks

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2024-06-16 15:09:49 +03:00
parent 94fd02a34f
commit 8d3e6667cd
4 changed files with 49 additions and 41 deletions

View File

@ -30,6 +30,7 @@ class ArchiveDownloadTask : public Task {
[[nodiscard]] bool canAbort() const override { return true; }
void executeTask() override;
virtual bool abort() override;
private slots:
void extractJava(QString input);
@ -39,5 +40,6 @@ class ArchiveDownloadTask : public Task {
QString m_final_path;
QString m_checksum_type;
QString m_checksum_hash;
Task::Ptr m_task;
};
} // namespace Java