diff options
author | flow <flowlnlnln@gmail.com> | 2022-08-20 10:15:50 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 10:15:50 -0300 |
commit | 2dcff83be772a9f724c0f57319f284462b8d9ddf (patch) | |
tree | e967a533015e9e86372c549d0b2f989efdb5d4a0 /launcher/ui/pages/instance/ModFolderPage.h | |
parent | 92d7e44525ec627f352239b01fbbb2343d3b95ef (diff) | |
parent | afb9ebcd999e2f290ddf81f13ce4a5b4126c40c2 (diff) | |
download | PrismLauncher-2dcff83be772a9f724c0f57319f284462b8d9ddf.tar.gz PrismLauncher-2dcff83be772a9f724c0f57319f284462b8d9ddf.tar.bz2 PrismLauncher-2dcff83be772a9f724c0f57319f284462b8d9ddf.zip |
Merge pull request #1035 from Scrumplex/fix-coremods
Make Coremods / Mods seperation more clear
Diffstat (limited to 'launcher/ui/pages/instance/ModFolderPage.h')
-rw-r--r-- | launcher/ui/pages/instance/ModFolderPage.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/launcher/ui/pages/instance/ModFolderPage.h b/launcher/ui/pages/instance/ModFolderPage.h index 93889707..7e305951 100644 --- a/launcher/ui/pages/instance/ModFolderPage.h +++ b/launcher/ui/pages/instance/ModFolderPage.h @@ -64,5 +64,11 @@ class CoreModFolderPage : public ModFolderPage { public: explicit CoreModFolderPage(BaseInstance* inst, std::shared_ptr<ModFolderModel> mods, QWidget* parent = 0); virtual ~CoreModFolderPage() = default; - virtual bool shouldDisplay() const; + + virtual QString displayName() const override { return tr("Core mods"); } + virtual QIcon icon() const override { return APPLICATION->getThemedIcon("coremods"); } + virtual QString id() const override { return "coremods"; } + virtual QString helpPage() const override { return "Core-mods"; } + + virtual bool shouldDisplay() const override; }; |