aboutsummaryrefslogtreecommitdiff
path: root/src/about/aboutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/about/aboutdialog.cpp')
-rw-r--r--src/about/aboutdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/about/aboutdialog.cpp b/src/about/aboutdialog.cpp
index 894b1ec..1013866 100644
--- a/src/about/aboutdialog.cpp
+++ b/src/about/aboutdialog.cpp
@@ -8,7 +8,6 @@
#include "aboutdialog.h"
#include "ui_aboutdialog.h"
-#include <version.h>
// compiler
// clang also defines __GNUC__, so we need to check for clang first
@@ -59,7 +58,7 @@ AboutDialog::AboutDialog(QWidget *parent)
"<p>This program is distributed in the hope that it will be useful, but without any warranty.</p>"
"<p>You can read the full terms of the license on <a href='https://www.gnu.org/licenses/gpl-3.0.en.html'>the GNU website</a>.</p>"));
- ui->detailsLabel->setText(tr("<p>Version " poi_Version "</p>"
+ ui->detailsLabel->setText(tr("<p>Version %1</p>"
"<p>Compiled with " compiler "</p>"
"<p>Libraries: <ul>"
"<li><a href='https://www.qt.io/'>Qt5</a> " QT_VERSION_STR "</li>"
@@ -69,7 +68,8 @@ AboutDialog::AboutDialog(QWidget *parent)
#ifdef CONFIG_USEBREAKPAD
"<li><a href='https://chromium.googlesource.com/breakpad/breakpad'>Breakpad</a></li>"
#endif
- "</ul></p>"));
+ "</ul></p>")
+ .arg(qApp->applicationVersion()));
}
AboutDialog::~AboutDialog()