diff options
| author | Tannin <sherb@gmx.net> | 2016-05-07 00:03:38 +0200 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-05-07 00:03:38 +0200 |
| commit | eb97c46ed68a965d6ddf44fa6741fa929fd7d278 (patch) | |
| tree | f2c92e8a688faacdbd6285ac5b5bf5f91a5ee3e9 /src/aboutdialog.cpp | |
| parent | d958e11e2b3cde75f481bdb734be10b4e1dda585 (diff) | |
cleanup
Diffstat (limited to 'src/aboutdialog.cpp')
| -rw-r--r-- | src/aboutdialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/aboutdialog.cpp b/src/aboutdialog.cpp index 3657a10d..ed57a217 100644 --- a/src/aboutdialog.cpp +++ b/src/aboutdialog.cpp @@ -54,10 +54,13 @@ AboutDialog::AboutDialog(const QString &version, QWidget *parent) addLicense("RRZE Icon Set", LICENSE_CCBY3);
addLicense("Icons by Lorc, Delapouite and sbed available on http://game-icons.net", LICENSE_CCBY3);
addLicense("Castle Core", LICENSE_APACHE2);
+ addLicense("LOOT", LICENSE_GPL3);
ui->nameLabel->setText(QString("<span style=\"font-size:12pt; font-weight:600;\">%1 %2</span>").arg(ui->nameLabel->text()).arg(version));
-#ifdef HGID
+#if defined(HGID)
ui->revisionLabel->setText(ui->revisionLabel->text() + " " + HGID);
+#elif defined(GITID)
+ ui->revisionLabel->setText(ui->revisionLabel->text() + " " + GITID);
#else
ui->revisionLabel->setText(ui->revisionLabel->text() + " unknown");
#endif
|
