From de247a9ccff6903c7c7b956dd4d85e4f0c3b9445 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 2 Apr 2017 15:47:17 +0200 Subject: Some code cleanup --- src/forms/aboutdialog.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/forms') 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("

" - "Long version: %1
" - "Configuration: %2" + detailsLabel->setText(tr("

Version %1

" + "

" + "Based on Qt " QT_VERSION_STR "
" +#if defined __clang__ + "Compiled with Clang " __clang_version__ "
" +#elif defined __GNUC__ + "Compiled with GCC " __VERSION__ "
" +#endif + "Configuration lives in %2" "

") .arg(qApp->applicationLongVersion()) .arg(sSettings->filePath())); -- cgit v1.2.1