aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ModUpdateDialog.cpp
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-07-01 16:17:05 -0300
committerflow <flowlnlnln@gmail.com>2022-07-17 11:33:44 -0300
commit47bdcb6050cc5eb106929f27115c9dd13f93d154 (patch)
tree3f01d1ff5f25fd49f764c55b9e2e55238cec24ba /launcher/ui/dialogs/ModUpdateDialog.cpp
parent58dc3e93d375a36c3c8c82fbbb7dc6322a475869 (diff)
downloadPrismLauncher-47bdcb6050cc5eb106929f27115c9dd13f93d154.tar.gz
PrismLauncher-47bdcb6050cc5eb106929f27115c9dd13f93d154.tar.bz2
PrismLauncher-47bdcb6050cc5eb106929f27115c9dd13f93d154.zip
feat: make second metadata pass concurrent
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/ui/dialogs/ModUpdateDialog.cpp')
-rw-r--r--launcher/ui/dialogs/ModUpdateDialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ModUpdateDialog.cpp b/launcher/ui/dialogs/ModUpdateDialog.cpp
index c280c8da..c54d178b 100644
--- a/launcher/ui/dialogs/ModUpdateDialog.cpp
+++ b/launcher/ui/dialogs/ModUpdateDialog.cpp
@@ -8,6 +8,8 @@
#include "FileSystem.h"
#include "Json.h"
+#include "tasks/ConcurrentTask.h"
+
#include "minecraft/MinecraftInstance.h"
#include "minecraft/PackProfile.h"
@@ -39,7 +41,7 @@ ModUpdateDialog::ModUpdateDialog(QWidget* parent,
, m_parent(parent)
, m_mod_model(mods)
, m_candidates(search_for)
- , m_second_try_metadata(new SequentialTask())
+ , m_second_try_metadata(new ConcurrentTask())
, m_instance(instance)
{
ReviewMessageBox::setGeometry(0, 0, 800, 600);