fix: use own metacache base for modrinth icons

This commit is contained in:
Sefa Eyeoglu
2022-05-16 20:17:19 +02:00
parent a6d2c5e181
commit cd9e0e0cc0
2 changed files with 2 additions and 1 deletions

View File

@ -208,7 +208,7 @@ void ModpackListModel::requestLogo(QString logo, QString url)
}
MetaEntryPtr entry =
APPLICATION->metacache()->resolveEntry(m_parent->metaEntryBase(), QString("logos/%1").arg(logo.section(".", 0, 0)));
APPLICATION->metacache()->resolveEntry("ModrinthPacks", QString("logos/%1").arg(logo.section(".", 0, 0)));
auto job = new NetJob(QString("%1 Icon Download %2").arg(m_parent->debugName()).arg(logo), APPLICATION->network());
job->addNetAction(Net::Download::makeCached(QUrl(url), entry));