diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-03-01 23:06:47 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-03-01 23:06:47 +0100 |
commit | 7c24bcc83476dcbdd7f7acbe14ecef4398962689 (patch) | |
tree | 4ab7e7020927d05274f079c3045bd572c218fa21 /logic/ForgeInstaller.cpp | |
parent | 7dfd6aa051c582e26125e17e1d6eed5e675e1027 (diff) | |
download | MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.tar MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.tar.gz MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.tar.lz MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.tar.xz MultiMC-7c24bcc83476dcbdd7f7acbe14ecef4398962689.zip |
Reorganize the version-related code.
Diffstat (limited to 'logic/ForgeInstaller.cpp')
-rw-r--r-- | logic/ForgeInstaller.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/ForgeInstaller.cpp b/logic/ForgeInstaller.cpp index 3e18d17f..6f238c21 100644 --- a/logic/ForgeInstaller.cpp +++ b/logic/ForgeInstaller.cpp @@ -14,7 +14,7 @@ */ #include "ForgeInstaller.h" -#include "OneSixVersion.h" +#include "VersionFinal.h" #include "OneSixLibrary.h" #include "net/HttpMetaCache.h" #include <quazip.h> @@ -33,7 +33,7 @@ ForgeInstaller::ForgeInstaller(QString filename, QString universal_url) { - std::shared_ptr<OneSixVersion> newVersion; + std::shared_ptr<VersionFinal> newVersion; m_universal_url = universal_url; QuaZip zip(filename); @@ -66,7 +66,7 @@ ForgeInstaller::ForgeInstaller(QString filename, QString universal_url) // read the forge version info { - newVersion = OneSixVersion::fromJson(versionInfoVal.toObject()); + newVersion = VersionFinal::fromJson(versionInfoVal.toObject()); if (!newVersion) return; } |