diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-10-18 01:00:46 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-10-18 01:00:46 +0200 |
commit | 205570be32b5cbd40eeb2b7e2d8d4fe116b07f64 (patch) | |
tree | 7af19a7479ae0c1dbef4d9cbc65c5550f9a3adc1 /logic/lists | |
parent | a600286e33601a85949b9e51bd5421a45f9998ac (diff) | |
download | MultiMC-205570be32b5cbd40eeb2b7e2d8d4fe116b07f64.tar MultiMC-205570be32b5cbd40eeb2b7e2d8d4fe116b07f64.tar.gz MultiMC-205570be32b5cbd40eeb2b7e2d8d4fe116b07f64.tar.lz MultiMC-205570be32b5cbd40eeb2b7e2d8d4fe116b07f64.tar.xz MultiMC-205570be32b5cbd40eeb2b7e2d8d4fe116b07f64.zip |
Support version format 9, fix version-related segfault, (maybe) fix forge lists.
Diffstat (limited to 'logic/lists')
-rw-r--r-- | logic/lists/ForgeVersionList.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/lists/ForgeVersionList.cpp b/logic/lists/ForgeVersionList.cpp index 9b698135..491a43d7 100644 --- a/logic/lists/ForgeVersionList.cpp +++ b/logic/lists/ForgeVersionList.cpp @@ -162,6 +162,10 @@ void ForgeListLoadTask::executeTask() auto job = new DownloadJob("Version index"); // we do not care if the version is stale or not. auto forgeListEntry = MMC->metacache()->resolveEntry("minecraftforge", "list.json"); + + // verify by poking the server. + forgeListEntry->stale = true; + job->addCacheDownload(QUrl(JSON_URL), forgeListEntry); listJob.reset(job); connect(listJob.get(), SIGNAL(succeeded()), SLOT(list_downloaded())); |