diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-27 15:04:42 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-27 15:04:42 +0300 |
commit | 4036cecfc02142c403a45e18474ad7aab6fc8834 (patch) | |
tree | cada4cbd4a7e7773ee8ce5112e7cda65a4d8c43e /launcher/ui/pages/modplatform/technic/TechnicModel.h | |
parent | 05094b7382aafc0a9dcda17c13d5294dbaa89c36 (diff) | |
download | PrismLauncher-4036cecfc02142c403a45e18474ad7aab6fc8834.tar.gz PrismLauncher-4036cecfc02142c403a45e18474ad7aab6fc8834.tar.bz2 PrismLauncher-4036cecfc02142c403a45e18474ad7aab6fc8834.zip |
Added progress widget to some modpack providers
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui/pages/modplatform/technic/TechnicModel.h')
-rw-r--r-- | launcher/ui/pages/modplatform/technic/TechnicModel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/technic/TechnicModel.h b/launcher/ui/pages/modplatform/technic/TechnicModel.h index c0d13ae8..aeb4f308 100644 --- a/launcher/ui/pages/modplatform/technic/TechnicModel.h +++ b/launcher/ui/pages/modplatform/technic/TechnicModel.h @@ -59,6 +59,7 @@ class ListModel : public QAbstractListModel { void searchWithTerm(const QString& term); [[nodiscard]] bool hasActiveSearchJob() const { return jobPtr && jobPtr->isRunning(); } + [[nodiscard]] Task::Ptr activeSearchJob() { return hasActiveSearchJob() ? jobPtr : nullptr; } private slots: void searchRequestFinished(); |