diff options
author | flow <thiagodonato300@gmail.com> | 2022-03-06 15:23:00 -0300 |
---|---|---|
committer | flow <thiagodonato300@gmail.com> | 2022-03-06 15:23:00 -0300 |
commit | 5a638fa97711231638615f920462ed5f5f4507e0 (patch) | |
tree | 3b6d1f46241d0d7b37892bab61c6df5537c99e04 /launcher/ui/pages/modplatform/ModModel.h | |
parent | 5e9d49a91082c53907db84df809d21c3bdc8bcac (diff) | |
download | PrismLauncher-5a638fa97711231638615f920462ed5f5f4507e0.tar.gz PrismLauncher-5a638fa97711231638615f920462ed5f5f4507e0.tar.bz2 PrismLauncher-5a638fa97711231638615f920462ed5f5f4507e0.zip |
refactor: move "get versions" task from page to model
This seems more reasonable
Diffstat (limited to 'launcher/ui/pages/modplatform/ModModel.h')
-rw-r--r-- | launcher/ui/pages/modplatform/ModModel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/ModModel.h b/launcher/ui/pages/modplatform/ModModel.h index 23e544f1..2b8ff65e 100644 --- a/launcher/ui/pages/modplatform/ModModel.h +++ b/launcher/ui/pages/modplatform/ModModel.h @@ -30,6 +30,8 @@ class ListModel : public QAbstractListModel { void getLogo(const QString& logo, const QString& logoUrl, LogoCallback callback); void searchWithTerm(const QString& term, const int sort); + virtual void populateVersions(const ModPlatform::IndexedPack& current); + protected slots: virtual void searchRequestFinished() = 0; |