Merge pull request #2829 from Trial97/ask_retry2

disable retry for translation files
This commit is contained in:
seth 2024-09-16 10:15:21 -04:00 committed by GitHub
commit 7eac06cad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -597,6 +597,7 @@ void TranslationsModel::downloadTranslation(QString key)
d->m_dl_job.reset(new NetJob("Translation for " + key, APPLICATION->network()));
d->m_dl_job->addNetAction(dl);
d->m_dl_job->setAskRetry(false);
connect(d->m_dl_job.get(), &NetJob::succeeded, this, &TranslationsModel::dlGood);
connect(d->m_dl_job.get(), &NetJob::failed, this, &TranslationsModel::dlFailed);