summaryrefslogtreecommitdiffstats
path: root/logic
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-02-01 16:26:38 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-02-01 16:26:38 +0100
commit8637cce4333aaf56a231d5fab866b0e770436783 (patch)
treef042ed07c09b32a3f5c2b881f2517499cf5b785b /logic
parent4a9e213238234b03fdd994143726a3f75290fc26 (diff)
downloadMultiMC-8637cce4333aaf56a231d5fab866b0e770436783.tar
MultiMC-8637cce4333aaf56a231d5fab866b0e770436783.tar.gz
MultiMC-8637cce4333aaf56a231d5fab866b0e770436783.tar.lz
MultiMC-8637cce4333aaf56a231d5fab866b0e770436783.tar.xz
MultiMC-8637cce4333aaf56a231d5fab866b0e770436783.zip
Fix a bug
Diffstat (limited to 'logic')
-rw-r--r--logic/ForgeInstaller.cpp2
-rw-r--r--logic/LiteLoaderInstaller.cpp2
-rw-r--r--logic/OneSixVersionBuilder.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/logic/ForgeInstaller.cpp b/logic/ForgeInstaller.cpp
index c7160d6e..47c42694 100644
--- a/logic/ForgeInstaller.cpp
+++ b/logic/ForgeInstaller.cpp
@@ -206,7 +206,7 @@ bool ForgeInstaller::add(OneSixInstance *to)
}
obj.insert("name", QString("Forge"));
- obj.insert("id", id());
+ obj.insert("fileId", id());
obj.insert("version", m_forgeVersionString);
obj.insert("mcVersion", to->intendedVersionId());
diff --git a/logic/LiteLoaderInstaller.cpp b/logic/LiteLoaderInstaller.cpp
index 48bbaeff..60a43d49 100644
--- a/logic/LiteLoaderInstaller.cpp
+++ b/logic/LiteLoaderInstaller.cpp
@@ -79,7 +79,7 @@ bool LiteLoaderInstaller::add(OneSixInstance *to)
obj.insert("+libraries", libraries);
obj.insert("name", QString("LiteLoader"));
- obj.insert("id", id());
+ obj.insert("fileId", id());
obj.insert("version", to->intendedVersionId());
obj.insert("mcVersion", to->intendedVersionId());
diff --git a/logic/OneSixVersionBuilder.cpp b/logic/OneSixVersionBuilder.cpp
index 08506d4b..a541766b 100644
--- a/logic/OneSixVersionBuilder.cpp
+++ b/logic/OneSixVersionBuilder.cpp
@@ -225,7 +225,7 @@ struct VersionFile
}
out.name = root.value("name").toString();
- out.fileId = root.value("id").toString();
+ out.fileId = root.value("fileId").toString();
out.version = root.value("version").toString();
out.mcVersion = root.value("mcVersion").toString();
out.filename = filename;