diff options
author | timoreo <timo.oreo34@gmail.com> | 2022-01-14 20:22:15 +0100 |
---|---|---|
committer | timoreo <timo.oreo34@gmail.com> | 2022-01-14 20:22:15 +0100 |
commit | 1a8c972aefae75ee91295ea5a926cca71d95140a (patch) | |
tree | 74c034e6746549d03152d00f8c054bb7d4fa47f7 /launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp | |
parent | 9e6fa8f29aa8bc0f609bfcdb6460c6845b73448a (diff) | |
download | PrismLauncher-1a8c972aefae75ee91295ea5a926cca71d95140a.tar.gz PrismLauncher-1a8c972aefae75ee91295ea5a926cca71d95140a.tar.bz2 PrismLauncher-1a8c972aefae75ee91295ea5a926cca71d95140a.zip |
Fixed icons
Also having a mod loader is now enforced
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp')
-rw-r--r-- | launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp index 3bc70e34..0242465b 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp @@ -100,7 +100,7 @@ void ListModel::requestLogo(QString logo, QString url) } MetaEntryPtr entry = APPLICATION->metacache()->resolveEntry("ModrinthPacks", QString("logos/%1").arg(logo.section(".", 0, 0))); - NetJob *job = new NetJob(QString("Modrinth Icon Download %1").arg(logo), APPLICATION->network()); + auto job = new NetJob(QString("Modrinth Icon Download %1").arg(logo), APPLICATION->network()); job->addNetAction(Net::Download::makeCached(QUrl(url), entry)); auto fullPath = entry->getFullPath(); @@ -119,7 +119,6 @@ void ListModel::requestLogo(QString logo, QString url) }); job->start(); - m_loadingLogos.append(logo); } |