summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceCopyTask.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-09-20 23:38:31 +0200
committerPetr Mrázek <peterix@gmail.com>2017-09-20 23:38:31 +0200
commitba3cbb7330fd3435423eb3a77373ca82d65681d3 (patch)
treed03c176ce5c30e13e15143967b6d800f0d403f92 /api/logic/InstanceCopyTask.cpp
parent9a6c2b0e2c0a4fb9f26b9c9d1137a66d7977251b (diff)
downloadMultiMC-ba3cbb7330fd3435423eb3a77373ca82d65681d3.tar
MultiMC-ba3cbb7330fd3435423eb3a77373ca82d65681d3.tar.gz
MultiMC-ba3cbb7330fd3435423eb3a77373ca82d65681d3.tar.lz
MultiMC-ba3cbb7330fd3435423eb3a77373ca82d65681d3.tar.xz
MultiMC-ba3cbb7330fd3435423eb3a77373ca82d65681d3.zip
NOISSUE more work on Legacy migration
Diffstat (limited to 'api/logic/InstanceCopyTask.cpp')
-rw-r--r--api/logic/InstanceCopyTask.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/logic/InstanceCopyTask.cpp b/api/logic/InstanceCopyTask.cpp
index 65c6b9ff..9ede65f5 100644
--- a/api/logic/InstanceCopyTask.cpp
+++ b/api/logic/InstanceCopyTask.cpp
@@ -49,9 +49,6 @@ void InstanceCopyTask::copyFinished()
auto instanceSettings = std::make_shared<INISettingsObject>(FS::PathCombine(m_stagingPath, "instance.cfg"));
instanceSettings->registerSetting("InstanceType", "Legacy");
- // FIXME: and this too? errors???
- m_origInstance->copy(instanceSettings, m_stagingPath);
-
InstancePtr inst(new NullInstance(m_globalSettings, instanceSettings, m_stagingPath));
inst->setName(m_instName);
inst->setIconKey(m_instIcon);