diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-10-11 23:04:24 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-11-04 15:23:49 +0100 |
commit | fede712a26937c5c0815cb9ed62320a8611794eb (patch) | |
tree | 1e881f91a01a235bf38710a795ad8add7a728208 /api/logic/InstanceImportTask.cpp | |
parent | 87edaa7dcd05db10399eda1b2769208a82a54cdf (diff) | |
download | MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.tar MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.tar.gz MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.tar.lz MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.tar.xz MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.zip |
NOISSUE rename MinecraftProfile to ComponentList
It is realistically a list of components. The fact that it also holds the final
launch parameters is a design bug.
Diffstat (limited to 'api/logic/InstanceImportTask.cpp')
-rw-r--r-- | api/logic/InstanceImportTask.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/InstanceImportTask.cpp b/api/logic/InstanceImportTask.cpp index 4e841694..e2782cd8 100644 --- a/api/logic/InstanceImportTask.cpp +++ b/api/logic/InstanceImportTask.cpp @@ -11,7 +11,7 @@ // FIXME: this does not belong here, it's Minecraft/Flame specific #include "minecraft/MinecraftInstance.h" -#include "minecraft/MinecraftProfile.h" +#include "minecraft/ComponentList.h" #include "minecraft/flame/FileResolvingTask.h" #include "minecraft/flame/PackManifest.h" #include "Json.h" @@ -293,7 +293,7 @@ void InstanceImportTask::processFlame() qDebug() << info.fileName(); jarMods.push_back(info.absoluteFilePath()); } - auto profile = instance.getMinecraftProfile(); + auto profile = instance.getComponentList(); profile->installJarMods(jarMods); // nuke the original files FS::deletePath(jarmodsPath); |