summaryrefslogtreecommitdiffstats
path: root/logic/lists/ForgeVersionList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/lists/ForgeVersionList.cpp')
-rw-r--r--logic/lists/ForgeVersionList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/lists/ForgeVersionList.cpp b/logic/lists/ForgeVersionList.cpp
index 721f2c0a..e2adbf3b 100644
--- a/logic/lists/ForgeVersionList.cpp
+++ b/logic/lists/ForgeVersionList.cpp
@@ -162,7 +162,7 @@ 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");
- job->add(QUrl(JSON_URL), forgeListEntry);
+ job->addCacheDownload(QUrl(JSON_URL), forgeListEntry);
listJob.reset(job);
connect(listJob.data(), SIGNAL(succeeded()), SLOT(list_downloaded()));
connect(listJob.data(), SIGNAL(failed()), SLOT(versionFileFailed()));