aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-14 22:26:22 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-14 22:26:22 +0300
commitdb9f5f44e08dae27578f0d74e5092f47e40a1216 (patch)
tree699110c02fafd5d2d843925e877aaa83066fb915 /launcher/modplatform/modrinth
parentcebb4dd17ae9bfab35210250ab7a5484c644abb0 (diff)
downloadPrismLauncher-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.cpp2
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!"));