diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-07-15 14:04:09 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-07-15 14:04:09 +0200 |
commit | 03280cc62e75f8073f8d3d9e9e3952acf21fa77d (patch) | |
tree | 06f7546fb4941b51ca2367d9cdb257011271452a /application/pages/instance/ModFolderPage.h | |
parent | 128bce6acb4fa320b70e580b2d2e0db5d41db8e6 (diff) | |
download | MultiMC-03280cc62e75f8073f8d3d9e9e3952acf21fa77d.tar MultiMC-03280cc62e75f8073f8d3d9e9e3952acf21fa77d.tar.gz MultiMC-03280cc62e75f8073f8d3d9e9e3952acf21fa77d.tar.lz MultiMC-03280cc62e75f8073f8d3d9e9e3952acf21fa77d.tar.xz MultiMC-03280cc62e75f8073f8d3d9e9e3952acf21fa77d.zip |
NOISSUE separate new mods model from the simple one
It should list mods in various locations...
Diffstat (limited to 'application/pages/instance/ModFolderPage.h')
-rw-r--r-- | application/pages/instance/ModFolderPage.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/pages/instance/ModFolderPage.h b/application/pages/instance/ModFolderPage.h index 15e728cb..0242f1c9 100644 --- a/application/pages/instance/ModFolderPage.h +++ b/application/pages/instance/ModFolderPage.h @@ -21,7 +21,7 @@ #include "pages/BasePage.h" #include <MultiMC.h> -class ModList; +class SimpleModList; namespace Ui { class ModFolderPage; @@ -32,7 +32,7 @@ class ModFolderPage : public QWidget, public BasePage Q_OBJECT public: - explicit ModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id, + explicit ModFolderPage(BaseInstance *inst, std::shared_ptr<SimpleModList> mods, QString id, QString iconName, QString displayName, QString helpPage = "", QWidget *parent = 0); virtual ~ModFolderPage(); @@ -71,7 +71,7 @@ protected: protected: Ui::ModFolderPage *ui; - std::shared_ptr<ModList> m_mods; + std::shared_ptr<SimpleModList> m_mods; QSortFilterProxyModel *m_filterModel; QString m_iconName; QString m_id; @@ -98,7 +98,7 @@ slots: class CoreModFolderPage : public ModFolderPage { public: - explicit CoreModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id, + explicit CoreModFolderPage(BaseInstance *inst, std::shared_ptr<SimpleModList> mods, QString id, QString iconName, QString displayName, QString helpPage = "", QWidget *parent = 0); virtual ~CoreModFolderPage() |