From 17ad1e64f824fba6d8f153191effdb2af7d387c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 27 Feb 2016 19:58:40 +0100 Subject: NOISSUE move files into paths that make more sense --- logic/ftb/LegacyFTBInstance.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 logic/ftb/LegacyFTBInstance.cpp (limited to 'logic/ftb/LegacyFTBInstance.cpp') diff --git a/logic/ftb/LegacyFTBInstance.cpp b/logic/ftb/LegacyFTBInstance.cpp deleted file mode 100644 index a7091f1d..00000000 --- a/logic/ftb/LegacyFTBInstance.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "LegacyFTBInstance.h" -#include -#include - -LegacyFTBInstance::LegacyFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir) : - LegacyInstance(globalSettings, settings, rootDir) -{ -} - -QString LegacyFTBInstance::id() const -{ - return "FTB/" + BaseInstance::id(); -} - -void LegacyFTBInstance::copy(const QDir &newDir) -{ - // set the target instance to be plain Legacy - INISettingsObject settings_obj(newDir.absoluteFilePath("instance.cfg")); - settings_obj.registerSetting("InstanceType", "Legacy"); - QString inst_type = settings_obj.get("InstanceType").toString(); - settings_obj.set("InstanceType", "Legacy"); -} - -QString LegacyFTBInstance::typeName() const -{ - return tr("Legacy FTB"); -} -- cgit v1.2.3