Support version format 9, fix version-related segfault, (maybe) fix forge lists.

This commit is contained in:
Petr Mrázek
2013-10-18 01:00:46 +02:00
parent a600286e33
commit 205570be32
6 changed files with 27 additions and 10 deletions

View File

@ -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()));