mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into validate_metadata
This commit is contained in:
commit
91d03b34ac
107 changed files with 1548 additions and 573 deletions
|
|
@ -553,6 +553,7 @@ void TranslationsModel::downloadIndex()
|
|||
auto task = Net::Download::makeCached(QUrl(BuildConfig.TRANSLATIONS_BASE_URL + "index_v2.json"), entry);
|
||||
d->m_index_task = task.get();
|
||||
d->m_index_job->addNetAction(task);
|
||||
d->m_index_job->setAskRetry(false);
|
||||
connect(d->m_index_job.get(), &NetJob::failed, this, &TranslationsModel::indexFailed);
|
||||
connect(d->m_index_job.get(), &NetJob::succeeded, this, &TranslationsModel::indexReceived);
|
||||
d->m_index_job->start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue