aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft
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/minecraft
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/minecraft')
-rw-r--r--launcher/minecraft/mod/ResourceFolderModel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/ResourceFolderModel.cpp b/launcher/minecraft/mod/ResourceFolderModel.cpp
index 39a61067..e2aa957b 100644
--- a/launcher/minecraft/mod/ResourceFolderModel.cpp
+++ b/launcher/minecraft/mod/ResourceFolderModel.cpp
@@ -33,6 +33,7 @@ ResourceFolderModel::ResourceFolderModel(QDir dir, BaseInstance* instance, QObje
connect(&m_watcher, &QFileSystemWatcher::directoryChanged, this, &ResourceFolderModel::directoryChanged);
connect(&m_helper_thread_task, &ConcurrentTask::finished, this, [this] { m_helper_thread_task.clear(); });
+ m_helper_thread_task.setMaxConcurrent(APPLICATION->settings()->get("NumberOfConcurrentTasks").toInt());
}
ResourceFolderModel::~ResourceFolderModel()