diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-10 22:04:08 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-10 22:04:08 +0300 |
commit | ae9e8dbafd457ef5be2b02529647c8b974488f7a (patch) | |
tree | 334002c31de3b7a1959a2bc850d4b8f318a0001e /launcher/ui/pages/modplatform/ModModel.h | |
parent | f96b135ef72a762220941681cf1b314a3b2db266 (diff) | |
download | PrismLauncher-ae9e8dbafd457ef5be2b02529647c8b974488f7a.tar.gz PrismLauncher-ae9e8dbafd457ef5be2b02529647c8b974488f7a.tar.bz2 PrismLauncher-ae9e8dbafd457ef5be2b02529647c8b974488f7a.zip |
Removed const specification
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui/pages/modplatform/ModModel.h')
-rw-r--r-- | launcher/ui/pages/modplatform/ModModel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/pages/modplatform/ModModel.h b/launcher/ui/pages/modplatform/ModModel.h index 938ce32e..805d8b9a 100644 --- a/launcher/ui/pages/modplatform/ModModel.h +++ b/launcher/ui/pages/modplatform/ModModel.h @@ -24,7 +24,7 @@ class ModModel : public ResourceModel { Q_OBJECT public: - ModModel(const BaseInstance&, ResourceAPI* api); + ModModel(BaseInstance&, ResourceAPI* api); /* Ask the API for more information */ void searchWithTerm(const QString& term, unsigned int sort, bool filter_changed); @@ -45,7 +45,7 @@ class ModModel : public ResourceModel { virtual bool isPackInstalled(ModPlatform::IndexedPack::Ptr) const override; protected: - const BaseInstance& m_base_instance; + BaseInstance& m_base_instance; std::shared_ptr<ModFilterWidget::Filter> m_filter = nullptr; }; |