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/minecraft | |
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/minecraft')
-rw-r--r-- | launcher/minecraft/mod/ResourceFolderModel.cpp | 1 |
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() |