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
commit b4ecb38ae5
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
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);