diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-08-04 03:27:53 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-08-04 03:27:53 +0200 |
commit | a3ffa3d6659e00e0762017cf64911db0183a250c (patch) | |
tree | 565b2d69b1d8d7e711682801410ff8a234e3931d /application/pages/instance/ModFolderPage.h | |
parent | 7d13e3119801862b9fdf64b11a45c41a64b4fc46 (diff) | |
download | MultiMC-a3ffa3d6659e00e0762017cf64911db0183a250c.tar MultiMC-a3ffa3d6659e00e0762017cf64911db0183a250c.tar.gz MultiMC-a3ffa3d6659e00e0762017cf64911db0183a250c.tar.lz MultiMC-a3ffa3d6659e00e0762017cf64911db0183a250c.tar.xz MultiMC-a3ffa3d6659e00e0762017cf64911db0183a250c.zip |
NOISSUE asynchronous, parallel mod folder listing and mod resolving
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 a52e1611..a99ab161 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 SimpleModList; +class ModFolderModel; namespace Ui { class ModFolderPage; @@ -34,7 +34,7 @@ class ModFolderPage : public QMainWindow, public BasePage public: explicit ModFolderPage( BaseInstance *inst, - std::shared_ptr<SimpleModList> mods, + std::shared_ptr<ModFolderModel> mods, QString id, QString iconName, QString displayName, @@ -78,7 +78,7 @@ protected: protected: Ui::ModFolderPage *ui = nullptr; - std::shared_ptr<SimpleModList> m_mods; + std::shared_ptr<ModFolderModel> m_mods; QSortFilterProxyModel *m_filterModel = nullptr; QString m_iconName; QString m_id; @@ -108,7 +108,7 @@ slots: class CoreModFolderPage : public ModFolderPage { public: - explicit CoreModFolderPage(BaseInstance *inst, std::shared_ptr<SimpleModList> mods, QString id, + explicit CoreModFolderPage(BaseInstance *inst, std::shared_ptr<ModFolderModel> mods, QString id, QString iconName, QString displayName, QString helpPage = "", QWidget *parent = 0); virtual ~CoreModFolderPage() |