diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-03-13 00:23:45 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-03-26 17:05:27 +0100 |
commit | 02c1df2c3c260fe625b9c3314e9eed2885a97456 (patch) | |
tree | 1ca64f44fc609ba47a6a1fde4b9e93fe15b1e618 /logic/minecraft/MinecraftVersionList.cpp | |
parent | 1854e05e1bb14d8f2bbc4676f44024a83e972f6f (diff) | |
download | PrismLauncher-02c1df2c3c260fe625b9c3314e9eed2885a97456.tar.gz PrismLauncher-02c1df2c3c260fe625b9c3314e9eed2885a97456.tar.bz2 PrismLauncher-02c1df2c3c260fe625b9c3314e9eed2885a97456.zip |
NOISSUE continue version file format refactors
Diffstat (limited to 'logic/minecraft/MinecraftVersionList.cpp')
-rw-r--r-- | logic/minecraft/MinecraftVersionList.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/logic/minecraft/MinecraftVersionList.cpp b/logic/minecraft/MinecraftVersionList.cpp index 507d8254..f219c782 100644 --- a/logic/minecraft/MinecraftVersionList.cpp +++ b/logic/minecraft/MinecraftVersionList.cpp @@ -111,7 +111,7 @@ static bool cmpVersions(BaseVersionPtr first, BaseVersionPtr second) { auto left = std::dynamic_pointer_cast<MinecraftVersion>(first); auto right = std::dynamic_pointer_cast<MinecraftVersion>(second); - return left->m_releaseTime > right->m_releaseTime; + return left->getReleaseDateTime() > right->getReleaseDateTime(); } void MinecraftVersionList::sortInternal() @@ -191,7 +191,6 @@ void MinecraftVersionList::loadBuiltinList() mcVersion->m_appletClass = versionObj.value("appletClass").toString(""); mcVersion->m_mainClass = versionObj.value("mainClass").toString(""); mcVersion->m_jarChecksum = versionObj.value("checksum").toString(""); - mcVersion->m_processArguments = versionObj.value("processArguments").toString("legacy"); if (versionObj.contains("+traits")) { for (auto traitVal : Json::requireArray(versionObj.value("+traits"))) |