summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/OneSixInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-02-07 10:43:09 +0100
committerPetr Mrázek <peterix@gmail.com>2015-04-12 20:57:17 +0200
commit4e94de413ba60a1da91715a41c8ba8caa8474728 (patch)
tree9907e1ade674ab98fea5719f7e2da5ca0ec35464 /logic/minecraft/OneSixInstance.cpp
parent141e0a02a0a0c4bbc4cc2e900560db5048366104 (diff)
downloadMultiMC-4e94de413ba60a1da91715a41c8ba8caa8474728.tar
MultiMC-4e94de413ba60a1da91715a41c8ba8caa8474728.tar.gz
MultiMC-4e94de413ba60a1da91715a41c8ba8caa8474728.tar.lz
MultiMC-4e94de413ba60a1da91715a41c8ba8caa8474728.tar.xz
MultiMC-4e94de413ba60a1da91715a41c8ba8caa8474728.zip
SCRATCH no more gui includes in logic
Diffstat (limited to 'logic/minecraft/OneSixInstance.cpp')
-rw-r--r--logic/minecraft/OneSixInstance.cpp33
1 files changed, 1 insertions, 32 deletions
diff --git a/logic/minecraft/OneSixInstance.cpp b/logic/minecraft/OneSixInstance.cpp
index ebba22d6..f43275ab 100644
--- a/logic/minecraft/OneSixInstance.cpp
+++ b/logic/minecraft/OneSixInstance.cpp
@@ -28,15 +28,7 @@
#include "logic/minecraft/AssetsUtils.h"
#include "logic/icons/IconList.h"
-#include "gui/pagedialog/PageDialog.h"
-#include "gui/pages/VersionPage.h"
-#include "gui/pages/ModFolderPage.h"
-#include "gui/pages/ResourcePackPage.h"
-#include "gui/pages/TexturePackPage.h"
-#include "gui/pages/InstanceSettingsPage.h"
-#include "gui/pages/NotesPage.h"
-#include "gui/pages/ScreenshotsPage.h"
-#include "gui/pages/OtherLogsPage.h"
+
OneSixInstance::OneSixInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir)
: MinecraftInstance(globalSettings, settings, rootDir)
{
@@ -53,29 +45,6 @@ void OneSixInstance::createProfile()
m_version.reset(new MinecraftProfile(new OneSixProfileStrategy(this)));
}
-
-QList<BasePage *> OneSixInstance::getPages()
-{
- QList<BasePage *> values;
- values.append(new VersionPage(this));
- values.append(new ModFolderPage(this, loaderModList(), "mods", "loadermods",
- tr("Loader mods"), "Loader-mods"));
- values.append(new CoreModFolderPage(this, coreModList(), "coremods", "coremods",
- tr("Core mods"), "Core-mods"));
- values.append(new ResourcePackPage(this));
- values.append(new TexturePackPage(this));
- values.append(new NotesPage(this));
- values.append(new ScreenshotsPage(PathCombine(minecraftRoot(), "screenshots")));
- values.append(new InstanceSettingsPage(this));
- values.append(new OtherLogsPage(minecraftRoot()));
- return values;
-}
-
-QString OneSixInstance::dialogTitle()
-{
- return tr("Edit Instance (%1)").arg(name());
-}
-
QSet<QString> OneSixInstance::traits()
{
auto version = getMinecraftProfile();