diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-03-18 12:57:44 +0000 |
---|---|---|
committer | TheKodeToad <TheKodeToad@proton.me> | 2023-03-18 12:57:44 +0000 |
commit | 5346dfc782d1736811b60b8548ce4c4335caabff (patch) | |
tree | d7fc49ca42d93f65f61178b3b441ef6b5b78d79e | |
parent | ddca838e46d2d147cbc5965be31895dd73676c79 (diff) | |
download | PrismLauncher-5346dfc782d1736811b60b8548ce4c4335caabff.tar.gz PrismLauncher-5346dfc782d1736811b60b8548ce4c4335caabff.tar.bz2 PrismLauncher-5346dfc782d1736811b60b8548ce4c4335caabff.zip |
Use first line of notes for summary
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
-rw-r--r-- | launcher/ui/dialogs/ExportMrPackDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ExportMrPackDialog.cpp b/launcher/ui/dialogs/ExportMrPackDialog.cpp index 8a49f314..28c719c7 100644 --- a/launcher/ui/dialogs/ExportMrPackDialog.cpp +++ b/launcher/ui/dialogs/ExportMrPackDialog.cpp @@ -17,7 +17,6 @@ */ #include "ExportMrPackDialog.h" -#include "Application.h" #include "ui/dialogs/CustomMessageBox.h" #include "ui/dialogs/ProgressDialog.h" #include "ui_ExportMrPackDialog.h" @@ -35,6 +34,7 @@ ExportMrPackDialog::ExportMrPackDialog(InstancePtr instance, QWidget* parent) { ui->setupUi(this); ui->name->setText(instance->name()); + ui->summary->setText(instance->notes().split(QRegExp("\\r?\\n"))[0]); auto model = new QFileSystemModel(this); // use the game root - everything outside cannot be exported |