aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages
diff options
context:
space:
mode:
authortimoreo <timo.oreo34@gmail.com>2022-07-01 20:09:18 +0200
committerGitHub <noreply@github.com>2022-07-01 20:09:18 +0200
commitfe2e1d931f56902440e80552c43460d59bc574c3 (patch)
tree65d9b847b5b4f4fa64b0fe39e2a256a98e84c51a /launcher/ui/pages
parent2e17e780528e8646e1e3ab9e4eb68a9ea1126c48 (diff)
parent02201631e72992a520595a2dfc64084dc9274788 (diff)
downloadPrismLauncher-fe2e1d931f56902440e80552c43460d59bc574c3.tar.gz
PrismLauncher-fe2e1d931f56902440e80552c43460d59bc574c3.tar.bz2
PrismLauncher-fe2e1d931f56902440e80552c43460d59bc574c3.zip
Merge pull request #786 from flowln/concurrent_tasks_slimmed
Diffstat (limited to 'launcher/ui/pages')
-rw-r--r--launcher/ui/pages/instance/ModFolderPage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/pages/instance/ModFolderPage.cpp b/launcher/ui/pages/instance/ModFolderPage.cpp
index 8fd0f86e..4432ccc8 100644
--- a/launcher/ui/pages/instance/ModFolderPage.cpp
+++ b/launcher/ui/pages/instance/ModFolderPage.cpp
@@ -60,7 +60,7 @@
#include "modplatform/ModAPI.h"
#include "Version.h"
-#include "tasks/SequentialTask.h"
+#include "tasks/ConcurrentTask.h"
#include "ui/dialogs/ProgressDialog.h"
ModFolderPage::ModFolderPage(BaseInstance* inst, std::shared_ptr<ModFolderModel> mods, QWidget* parent)
@@ -127,7 +127,7 @@ void ModFolderPage::installMods()
ModDownloadDialog mdownload(m_model, this, m_instance);
if (mdownload.exec()) {
- SequentialTask* tasks = new SequentialTask(this);
+ ConcurrentTask* tasks = new ConcurrentTask(this);
connect(tasks, &Task::failed, [this, tasks](QString reason) {
CustomMessageBox::selectable(this, tr("Error"), reason, QMessageBox::Critical)->show();
tasks->deleteLater();