diff --git a/gui/pages/BasePage.h b/gui/pages/BasePage.h index 93ce3f351..bba4996d5 100644 --- a/gui/pages/BasePage.h +++ b/gui/pages/BasePage.h @@ -41,4 +41,4 @@ public: int listIndex = -1; }; -typedef std::shared_ptr BasePagePtr; \ No newline at end of file +typedef std::shared_ptr BasePagePtr; diff --git a/gui/pages/InstanceSettingsPage.h b/gui/pages/InstanceSettingsPage.h index 583cab0e2..db37d8d8c 100644 --- a/gui/pages/InstanceSettingsPage.h +++ b/gui/pages/InstanceSettingsPage.h @@ -38,7 +38,7 @@ public: virtual QIcon icon() override; virtual QString id() override; virtual bool apply(); - virtual QString helpPage() override { return "InstanceSettingsPage"; }; + virtual QString helpPage() override { return "Instance-settings"; }; private: void updateCheckboxStuff(); private slots: diff --git a/gui/pages/LegacyJarModPage.h b/gui/pages/LegacyJarModPage.h index 5bbd7cde6..0b28777bd 100644 --- a/gui/pages/LegacyJarModPage.h +++ b/gui/pages/LegacyJarModPage.h @@ -37,7 +37,7 @@ public: virtual QString displayName(); virtual QIcon icon(); virtual QString id(); - virtual QString helpPage() override { return "LegacyJarModPage"; }; + virtual QString helpPage() override { return "Legacy-jar-mods"; }; private slots: diff --git a/gui/pages/LegacyUpgradePage.h b/gui/pages/LegacyUpgradePage.h index 7f5333106..4f287e959 100644 --- a/gui/pages/LegacyUpgradePage.h +++ b/gui/pages/LegacyUpgradePage.h @@ -36,7 +36,7 @@ public: virtual QString displayName() override; virtual QIcon icon() override; virtual QString id() override; - virtual QString helpPage() override { return "LegacyUpgradePage"; }; + virtual QString helpPage() override { return "Legacy-upgrade"; }; private slots: void on_upgradeButton_clicked(); diff --git a/gui/pages/ResourcePackPage.h b/gui/pages/ResourcePackPage.h index 0c239bf12..56a524896 100644 --- a/gui/pages/ResourcePackPage.h +++ b/gui/pages/ResourcePackPage.h @@ -6,7 +6,7 @@ class ResourcePackPage : public ModFolderPage public: explicit ResourcePackPage(BaseInstance *instance, QWidget *parent = 0) : ModFolderPage(instance->texturePackList(), "resourcepacks", "resourcepacks", - tr("Resource packs"), "TexturePacksPage", parent) + tr("Resource packs"), "Resource-packs", parent) { m_inst = instance; } diff --git a/gui/pages/TexturePackPage.h b/gui/pages/TexturePackPage.h index f807bea55..b1a2f5441 100644 --- a/gui/pages/TexturePackPage.h +++ b/gui/pages/TexturePackPage.h @@ -6,7 +6,7 @@ class TexturePackPage : public ModFolderPage public: explicit TexturePackPage(BaseInstance *instance, QWidget *parent = 0) : ModFolderPage(instance->texturePackList(), "texturepacks", "resourcepacks", - tr("Texture packs"), "ResourcePacksPage", parent) + tr("Texture packs"), "Texture-packs", parent) { m_inst = instance; } diff --git a/gui/pages/VersionPage.h b/gui/pages/VersionPage.h index be271074b..a8bc15158 100644 --- a/gui/pages/VersionPage.h +++ b/gui/pages/VersionPage.h @@ -36,7 +36,7 @@ public: virtual QString displayName() override; virtual QIcon icon() override; virtual QString id() override; - virtual QString helpPage() override { return "VersionPage"; }; + virtual QString helpPage() override { return "Instance-version"; }; private slots: diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp index 0bd1bda8b..58a3c3211 100644 --- a/logic/LegacyInstance.cpp +++ b/logic/LegacyInstance.cpp @@ -50,10 +50,10 @@ QList LegacyInstance::getPages() QList values; values.append(new LegacyUpgradePage(this)); values.append(new LegacyJarModPage(this)); - values.append(new ModFolderPage(loaderModList(), "mods", "plugin-blue", tr("Loader Mods"), - "LoaderModsPage")); - values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core Mods"), - "CoreModsPage")); + values.append(new ModFolderPage(loaderModList(), "mods", "plugin-blue", tr("Loader mods"), + "Loader-mods")); + values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core mods"), + "Core-mods")); values.append(new TexturePackPage(this)); values.append(new InstanceSettingsPage(&settings())); return values; diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index c1d5f2b1e..d3b35512b 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -61,10 +61,10 @@ QList OneSixInstance::getPages() { QList values; values.append(new VersionPage(this)); - values.append(new ModFolderPage(loaderModList(), "mods", "plugin-blue", tr("Loader Mods"), - "LoaderModsPage")); - values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core Mods"), - "CoreModsPage")); + values.append(new ModFolderPage(loaderModList(), "mods", "plugin-blue", tr("Loader mods"), + "Loader-mods")); + values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core mods"), + "Core-mods")); values.append(new ResourcePackPage(this)); values.append(new TexturePackPage(this)); values.append(new InstanceSettingsPage(&settings()));