diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-07-31 01:54:08 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-07-31 01:54:08 +0200 |
commit | 0c73ddee73e7383d5b81185381fa1c762fcb1147 (patch) | |
tree | 7193eb7bdd3e836ab8f150d3575d866bb2df3d9d /api/logic/minecraft | |
parent | 9965decd81b8e8ca98d610f605263ccf4ce541e1 (diff) | |
download | MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.gz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.lz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.xz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.zip |
NOISSUE set groups for instances by not setting groups for instances
So simple. Better in every way.
Diffstat (limited to 'api/logic/minecraft')
-rw-r--r-- | api/logic/minecraft/MinecraftInstance.cpp | 4 | ||||
-rw-r--r-- | api/logic/minecraft/MinecraftInstance.h | 1 | ||||
-rw-r--r-- | api/logic/minecraft/legacy/LegacyInstance.h | 1 | ||||
-rw-r--r-- | api/logic/minecraft/legacy/LegacyUpgradeTask.cpp | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/api/logic/minecraft/MinecraftInstance.cpp b/api/logic/minecraft/MinecraftInstance.cpp index 77444bec..7c83b890 100644 --- a/api/logic/minecraft/MinecraftInstance.cpp +++ b/api/logic/minecraft/MinecraftInstance.cpp @@ -112,10 +112,6 @@ MinecraftInstance::MinecraftInstance(SettingsObjectPtr globalSettings, SettingsO m_components->setOldConfigVersion("com.mumfrey.liteloader", m_settings->get("LiteloaderVersion").toString()); } -void MinecraftInstance::init() -{ -} - void MinecraftInstance::saveNow() { m_components->saveNow(); diff --git a/api/logic/minecraft/MinecraftInstance.h b/api/logic/minecraft/MinecraftInstance.h index 880939c1..5f0fa353 100644 --- a/api/logic/minecraft/MinecraftInstance.h +++ b/api/logic/minecraft/MinecraftInstance.h @@ -18,7 +18,6 @@ class MULTIMC_LOGIC_EXPORT MinecraftInstance: public BaseInstance public: MinecraftInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir); virtual ~MinecraftInstance() {}; - virtual void init() override; virtual void saveNow() override; // FIXME: remove diff --git a/api/logic/minecraft/legacy/LegacyInstance.h b/api/logic/minecraft/legacy/LegacyInstance.h index 42a6a5b2..619e2c83 100644 --- a/api/logic/minecraft/legacy/LegacyInstance.h +++ b/api/logic/minecraft/legacy/LegacyInstance.h @@ -34,7 +34,6 @@ public: explicit LegacyInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir); - virtual void init() override {} virtual void saveNow() override {} /// Path to the instance's minecraft.jar diff --git a/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp b/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp index 3f373a9c..9a832a24 100644 --- a/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp +++ b/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp @@ -67,7 +67,6 @@ void LegacyUpgradeTask::copyFinished() { MinecraftInstance inst(m_globalSettings, instanceSettings, m_stagingPath); inst.setName(m_instName); - inst.init(); QString preferredVersionNumber = decideVersion(legacyInst->currentVersionId(), legacyInst->intendedVersionId()); if(preferredVersionNumber.isNull()) |