Added progress widget to some modpack providers

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2023-08-27 15:04:42 +03:00
parent 05094b7382
commit 4036cecfc0
12 changed files with 48 additions and 12 deletions

View File

@ -74,6 +74,7 @@ class ModpackListModel : public QAbstractListModel {
void searchWithTerm(const QString& term, const int sort);
[[nodiscard]] bool hasActiveSearchJob() const { return jobPtr && jobPtr->isRunning(); }
[[nodiscard]] Task::Ptr activeSearchJob() { return hasActiveSearchJob() ? jobPtr : nullptr; }
void getLogo(const QString& logo, const QString& logoUrl, LogoCallback callback);