Merge pull request #2440 from Trial97/fix_retry_dialog

update retry netjob dialog
This commit is contained in:
Alexandru Ionut Tripon
2024-07-19 15:47:12 +03:00
committed by GitHub
17 changed files with 47 additions and 5 deletions

View File

@ -110,6 +110,7 @@ void ListModel::requestLogo(QString logo, QString url)
MetaEntryPtr entry = APPLICATION->metacache()->resolveEntry("FlamePacks", QString("logos/%1").arg(logo));
auto job = new NetJob(QString("Flame Icon Download %1").arg(logo), APPLICATION->network());
job->setAskRetry(false);
job->addNetAction(Net::ApiDownload::makeCached(QUrl(url), entry));
auto fullPath = entry->getFullPath();