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
commit 0041d2a126
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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();