aboutsummaryrefslogtreecommitdiff
path: root/src/forms
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-04-02 15:47:17 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-04-02 15:47:17 +0200
commitde247a9ccff6903c7c7b956dd4d85e4f0c3b9445 (patch)
tree1199f2a5b8493507a8ab26fe39a6e96ff5de4266 /src/forms
parentMoved CookiesForm into the ProfileDialog (diff)
downloadsmolbote-de247a9ccff6903c7c7b956dd4d85e4f0c3b9445.tar.xz
Some code cleanup
Diffstat (limited to 'src/forms')
-rw-r--r--src/forms/aboutdialog.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/forms/aboutdialog.cpp b/src/forms/aboutdialog.cpp
index 1edaac4..dd26e91 100644
--- a/src/forms/aboutdialog.cpp
+++ b/src/forms/aboutdialog.cpp
@@ -43,9 +43,15 @@ AboutDialog::AboutDialog(QWidget *parent) :
QLabel *detailsLabel = new QLabel(this);
detailsLabel->setWordWrap(true);
- detailsLabel->setText(tr("<p>"
- "Long version: %1<br>"
- "Configuration: %2"
+ detailsLabel->setText(tr("<h3>Version %1</h3>"
+ "<p>"
+ "Based on Qt " QT_VERSION_STR "<br>"
+#if defined __clang__
+ "Compiled with Clang " __clang_version__ "<br>"
+#elif defined __GNUC__
+ "Compiled with GCC " __VERSION__ "<br>"
+#endif
+ "Configuration lives in %2"
"</p>")
.arg(qApp->applicationLongVersion())
.arg(sSettings->filePath()));