aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-03-18 12:57:44 +0000
committerTheKodeToad <TheKodeToad@proton.me>2023-03-18 12:57:44 +0000
commit5346dfc782d1736811b60b8548ce4c4335caabff (patch)
treed7fc49ca42d93f65f61178b3b441ef6b5b78d79e
parentddca838e46d2d147cbc5965be31895dd73676c79 (diff)
downloadPrismLauncher-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.cpp2
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