diff options
author | DioEgizio <83089242+DioEgizio@users.noreply.github.com> | 2023-06-16 09:56:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 09:56:51 +0200 |
commit | 412349ac58be5729b72a80c2cc0b7f5342667fea (patch) | |
tree | 1a107e14453369bef323eaad82845f90e056eb8d /launcher/ui/pages/modplatform/ResourceModel.h | |
parent | 000f4386a2416c8cc2ae4871ea4aeaedd9a65e1a (diff) | |
parent | 98a07da39bbc41529b67cf515849d403280af07c (diff) | |
download | PrismLauncher-412349ac58be5729b72a80c2cc0b7f5342667fea.tar.gz PrismLauncher-412349ac58be5729b72a80c2cc0b7f5342667fea.tar.bz2 PrismLauncher-412349ac58be5729b72a80c2cc0b7f5342667fea.zip |
Merge pull request #1135 from Trial97/installed_mods
Diffstat (limited to 'launcher/ui/pages/modplatform/ResourceModel.h')
-rw-r--r-- | launcher/ui/pages/modplatform/ResourceModel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/ResourceModel.h b/launcher/ui/pages/modplatform/ResourceModel.h index 69e23473..6533d9c6 100644 --- a/launcher/ui/pages/modplatform/ResourceModel.h +++ b/launcher/ui/pages/modplatform/ResourceModel.h @@ -116,6 +116,8 @@ class ResourceModel : public QAbstractListModel { virtual void loadExtraPackInfo(ModPlatform::IndexedPack&, QJsonObject&); virtual void loadIndexedPackVersions(ModPlatform::IndexedPack&, QJsonArray&); + virtual bool isPackInstalled(ModPlatform::IndexedPack::Ptr) const { return false; } + protected: /* Basic search parameters */ enum class SearchState { None, CanFetchMore, ResetRequested, Finished } m_search_state = SearchState::None; |