Added progress widget to some modpack providers
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
05094b7382
commit
4036cecfc0
12 changed files with 48 additions and 12 deletions
|
@ -41,6 +41,7 @@ class ListModel : 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; }
|
||||
|
||||
private slots:
|
||||
void performPaginatedSearch();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue