aboutsummaryrefslogtreecommitdiff
path: root/launcher/dialogs/AboutDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/dialogs/AboutDialog.cpp')
-rw-r--r--launcher/dialogs/AboutDialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/dialogs/AboutDialog.cpp b/launcher/dialogs/AboutDialog.cpp
index a4d30c3c..0c3f07db 100644
--- a/launcher/dialogs/AboutDialog.cpp
+++ b/launcher/dialogs/AboutDialog.cpp
@@ -113,6 +113,12 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), ui(new Ui::AboutDia
"However, it should be abundantly clear that the project is a fork <b>without</b> implying that you have our blessing.</p>"
));
+ QString urlText("<html><head/><body><p><a href=\"%1\">%1</a></p></body></html>");
+ ui->urlLabel->setText(urlText.arg(BuildConfig.LAUNCHER_GIT));
+
+ QString copyText("© 2012-2021 %1");
+ ui->copyLabel->setText(copyText.arg(BuildConfig.LAUNCHER_COPYRIGHT));
+
connect(ui->closeButton, SIGNAL(clicked()), SLOT(close()));
connect(ui->aboutQt, &QPushButton::clicked, &QApplication::aboutQt);