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/ui/pages/modplatform/ResourceModel.cpp | |
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/ui/pages/modplatform/ResourceModel.cpp')
-rw-r--r-- | launcher/ui/pages/modplatform/ResourceModel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/ResourceModel.cpp b/launcher/ui/pages/modplatform/ResourceModel.cpp index 49405a02..e0b66352 100644 --- a/launcher/ui/pages/modplatform/ResourceModel.cpp +++ b/launcher/ui/pages/modplatform/ResourceModel.cpp @@ -31,6 +31,7 @@ QHash<ResourceModel*, bool> ResourceModel::s_running_models; ResourceModel::ResourceModel(ResourceAPI* api) : QAbstractListModel(), m_api(api) { s_running_models.insert(this, true); + m_current_info_job.setMaxConcurrent(APPLICATION->settings()->get("NumberOfConcurrentDownloads").toInt()); } ResourceModel::~ResourceModel() |