diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-09-28 22:02:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 22:02:57 +0200 |
commit | 2ff9ef062034ec84ac75d6e4d294f2a448e7dfdd (patch) | |
tree | abc08ccdf5d323daac905ec409fb31300294e9b3 /launcher/modplatform/modrinth | |
parent | 59e565ef96b85be9a25fa5d4f1723ee87fd5e75e (diff) | |
parent | cf27d2f9ab206e24f7dfd909a88d7db48fd0a74a (diff) | |
download | PrismLauncher-2ff9ef062034ec84ac75d6e4d294f2a448e7dfdd.tar.gz PrismLauncher-2ff9ef062034ec84ac75d6e4d294f2a448e7dfdd.tar.bz2 PrismLauncher-2ff9ef062034ec84ac75d6e4d294f2a448e7dfdd.zip |
Merge pull request #1363 from Trial97/download_threads
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 c65f4fa8..07c47f14 100644 --- a/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp +++ b/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp @@ -38,7 +38,7 @@ void ModrinthCheckUpdate::executeTask() QStringList hashes; auto best_hash_type = ProviderCaps.hashType(ModPlatform::ResourceProvider::MODRINTH).first(); - ConcurrentTask hashing_task(this, "MakeModrinthHashesTask", 10); + 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!")); |