aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ExportMrPackDialog.cpp
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-03-04 11:07:07 +0000
committerTheKodeToad <TheKodeToad@proton.me>2023-03-04 11:07:07 +0000
commit87384182a19ea852522af1b0d69420a510c0a94b (patch)
tree7b0dc3289c375427d7e851310495fd0acc9c3217 /launcher/ui/dialogs/ExportMrPackDialog.cpp
parentf583e617ec86a7538523a99ae008143a787e593b (diff)
downloadPrismLauncher-87384182a19ea852522af1b0d69420a510c0a94b.tar.gz
PrismLauncher-87384182a19ea852522af1b0d69420a510c0a94b.tar.bz2
PrismLauncher-87384182a19ea852522af1b0d69420a510c0a94b.zip
Fix abort?
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/dialogs/ExportMrPackDialog.cpp')
-rw-r--r--launcher/ui/dialogs/ExportMrPackDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ExportMrPackDialog.cpp b/launcher/ui/dialogs/ExportMrPackDialog.cpp
index 266479b3..13262a7e 100644
--- a/launcher/ui/dialogs/ExportMrPackDialog.cpp
+++ b/launcher/ui/dialogs/ExportMrPackDialog.cpp
@@ -70,7 +70,8 @@ void ExportMrPackDialog::done(int result)
ProgressDialog progress(this);
progress.setSkipButton(true, tr("Abort"));
- progress.execWithTask(&task);
+ if (progress.execWithTask(&task) != QDialog::Accepted)
+ return;
}
QDialog::done(result);