From d911c9908c11c42144084c862c64b740cfb0c02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 18 Jun 2014 01:15:01 +0200 Subject: Replace notes dialog with a page. --- logic/LegacyInstance.cpp | 2 ++ logic/OneSixInstance.cpp | 2 ++ 2 files changed, 4 insertions(+) (limited to 'logic') diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp index 58a3c321..b646bd7b 100644 --- a/logic/LegacyInstance.cpp +++ b/logic/LegacyInstance.cpp @@ -33,6 +33,7 @@ #include "gui/pages/LegacyJarModPage.h" #include #include +#include LegacyInstance::LegacyInstance(const QString &rootDir, SettingsObject *settings, QObject *parent) @@ -55,6 +56,7 @@ QList LegacyInstance::getPages() values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core mods"), "Core-mods")); values.append(new TexturePackPage(this)); + values.append(new NotesPage(this)); values.append(new InstanceSettingsPage(&settings())); return values; } diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index d3b35512..30e62d73 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -35,6 +35,7 @@ #include #include #include +#include OneSixInstance::OneSixInstance(const QString &rootDir, SettingsObject *settings, QObject *parent) @@ -67,6 +68,7 @@ QList OneSixInstance::getPages() "Core-mods")); values.append(new ResourcePackPage(this)); values.append(new TexturePackPage(this)); + values.append(new NotesPage(this)); values.append(new InstanceSettingsPage(&settings())); return values; } -- cgit v1.2.3