Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into cmake_fields

This commit is contained in:
Trial97
2024-09-16 20:06:18 +03:00
5 changed files with 21 additions and 14 deletions

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);