diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-09-28 23:06:18 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-09-28 23:06:18 +0300 |
commit | 4802f6950e45d795303d3bc89d6f2e56293d2618 (patch) | |
tree | 3ba73bcdd89f278aaab6826e10c7c5659e5f71b6 /launcher/ui/pages/modplatform | |
parent | 5b7c5607a90cbb6ff78ba140a15d6180842d069b (diff) | |
parent | 531b58093eadba6bd856c4e30fb3b9a30dc270ee (diff) | |
download | PrismLauncher-4802f6950e45d795303d3bc89d6f2e56293d2618.tar.gz PrismLauncher-4802f6950e45d795303d3bc89d6f2e56293d2618.tar.bz2 PrismLauncher-4802f6950e45d795303d3bc89d6f2e56293d2618.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into feat/acknowledge_release_type
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui/pages/modplatform')
-rw-r--r-- | launcher/ui/pages/modplatform/ResourceModel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/ResourceModel.cpp b/launcher/ui/pages/modplatform/ResourceModel.cpp index cb8f1920..48e66efc 100644 --- a/launcher/ui/pages/modplatform/ResourceModel.cpp +++ b/launcher/ui/pages/modplatform/ResourceModel.cpp @@ -31,6 +31,9 @@ QHash<ResourceModel*, bool> ResourceModel::s_running_models; ResourceModel::ResourceModel(ResourceAPI* api) : QAbstractListModel(), m_api(api) { s_running_models.insert(this, true); +#ifndef LAUNCHER_TEST + m_current_info_job.setMaxConcurrent(APPLICATION->settings()->get("NumberOfConcurrentDownloads").toInt()); +#endif } ResourceModel::~ResourceModel() |