diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-14 22:26:22 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-14 22:26:22 +0300 |
commit | db9f5f44e08dae27578f0d74e5092f47e40a1216 (patch) | |
tree | 699110c02fafd5d2d843925e877aaa83066fb915 /launcher/modplatform/modrinth | |
parent | cebb4dd17ae9bfab35210250ab7a5484c644abb0 (diff) | |
download | PrismLauncher-db9f5f44e08dae27578f0d74e5092f47e40a1216.tar.gz PrismLauncher-db9f5f44e08dae27578f0d74e5092f47e40a1216.tar.bz2 PrismLauncher-db9f5f44e08dae27578f0d74e5092f47e40a1216.zip |
Split in two the options
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform/modrinth')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp b/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp index 3b0528f0..c1f83bbc 100644 --- a/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp +++ b/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp @@ -39,7 +39,7 @@ void ModrinthCheckUpdate::executeTask() QStringList hashes; auto best_hash_type = ProviderCaps.hashType(ModPlatform::ResourceProvider::MODRINTH).first(); - ConcurrentTask hashing_task(this, "MakeModrinthHashesTask"); + ConcurrentTask hashing_task(this, "MakeModrinthHashesTask", APPLICATION->settings()->get("NumberOfConcurrentTasks").toInt()); for (auto* mod : m_mods) { if (!mod->enabled()) { emit checkFailed(mod, tr("Disabled mods won't be updated, to prevent mod duplication issues!")); |