diff options
author | flow <flowlnlnln@gmail.com> | 2022-07-31 20:29:12 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-09-20 18:36:09 -0300 |
commit | eda6cf11ef53c11ed2691399ec1adbc83ca0a4d6 (patch) | |
tree | e6ccd43f4292f5e85b1f0bc637ca9ad96f61826a /launcher/InstanceImportTask.cpp | |
parent | 68facd6b93d1a08a7c2417aa0d0ec614b0feecbe (diff) | |
download | PrismLauncher-eda6cf11ef53c11ed2691399ec1adbc83ca0a4d6.tar.gz PrismLauncher-eda6cf11ef53c11ed2691399ec1adbc83ca0a4d6.tar.bz2 PrismLauncher-eda6cf11ef53c11ed2691399ec1adbc83ca0a4d6.zip |
feat(ui): improve info dialog before updating an instance
Adds a 'Cancel' option, and add a note about doing a backup before
updating.
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/InstanceImportTask.cpp')
-rw-r--r-- | launcher/InstanceImportTask.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/InstanceImportTask.cpp b/launcher/InstanceImportTask.cpp index 4819a6ff..e35913da 100644 --- a/launcher/InstanceImportTask.cpp +++ b/launcher/InstanceImportTask.cpp @@ -279,6 +279,7 @@ void InstanceImportTask::processFlame() connect(inst_creation_task, &Task::finished, inst_creation_task, &InstanceCreationTask::deleteLater); connect(this, &Task::aborted, inst_creation_task, &InstanceCreationTask::abort); + connect(inst_creation_task, &Task::aborted, this, &Task::abort); connect(inst_creation_task, &Task::abortStatusChanged, this, &Task::setAbortStatus); inst_creation_task->start(); @@ -342,6 +343,7 @@ void InstanceImportTask::processModrinth() connect(inst_creation_task, &Task::finished, inst_creation_task, &InstanceCreationTask::deleteLater); connect(this, &Task::aborted, inst_creation_task, &InstanceCreationTask::abort); + connect(inst_creation_task, &Task::aborted, this, &Task::abort); connect(inst_creation_task, &Task::abortStatusChanged, this, &Task::setAbortStatus); inst_creation_task->start(); |