Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into import_ok

This commit is contained in:
Trial97
2023-11-23 16:13:09 +02:00
71 changed files with 333 additions and 223 deletions

View File

@@ -71,7 +71,7 @@ class ModpackListModel : public QAbstractListModel {
/* Ask the API for more information */
void fetchMore(const QModelIndex& parent) override;
void refresh();
void searchWithTerm(const QString& term, const int sort);
void searchWithTerm(const QString& term, int sort);
[[nodiscard]] bool hasActiveSearchJob() const { return jobPtr && jobPtr->isRunning(); }
[[nodiscard]] Task::Ptr activeSearchJob() { return hasActiveSearchJob() ? jobPtr : nullptr; }