diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-03-28 14:22:28 +0100 |
---|---|---|
committer | TheKodeToad <TheKodeToad@proton.me> | 2023-03-28 14:22:28 +0100 |
commit | e42050cc8a2f74178d6cd0afe8c92ae9b802cf73 (patch) | |
tree | 99751241d422da79f8302e8c45e9b0fd50149e03 /launcher/ui/dialogs/ExportMrPackDialog.cpp | |
parent | 46f448dfba2a3c4bffe60f373ee27b1d19873c9e (diff) | |
download | PrismLauncher-e42050cc8a2f74178d6cd0afe8c92ae9b802cf73.tar.gz PrismLauncher-e42050cc8a2f74178d6cd0afe8c92ae9b802cf73.tar.bz2 PrismLauncher-e42050cc8a2f74178d6cd0afe8c92ae9b802cf73.zip |
Skip lookup if no files and fail if zipping fails
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/dialogs/ExportMrPackDialog.cpp')
-rw-r--r-- | launcher/ui/dialogs/ExportMrPackDialog.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/launcher/ui/dialogs/ExportMrPackDialog.cpp b/launcher/ui/dialogs/ExportMrPackDialog.cpp index 02b6721d..a622eb30 100644 --- a/launcher/ui/dialogs/ExportMrPackDialog.cpp +++ b/launcher/ui/dialogs/ExportMrPackDialog.cpp @@ -87,12 +87,6 @@ void ExportMrPackDialog::done(int result) connect(&task, &Task::failed, [this](const QString reason) { CustomMessageBox::selectable(this, tr("Error"), reason, QMessageBox::Critical)->show(); }); - - connect(&task, &Task::succeeded, [this, &task]() { - QStringList warnings = task.warnings(); - if (warnings.count() > 0) - CustomMessageBox::selectable(this, tr("Warnings"), warnings.join('\n'), QMessageBox::Warning)->show(); - }); connect(&task, &Task::aborted, [this] { CustomMessageBox::selectable(this, tr("Task aborted"), tr("The task has been aborted by the user."), QMessageBox::Information) ->show(); |