summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-18 10:28:12 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-18 10:28:12 +0200
commit8ba4c6c7f3317d9e3c4465be15265e7f72d4ab28 (patch)
treeb1ec164631445f7da1b31b358fe7d644c962f19e
parente42c4bbe297997e1a9378d2c24694f1182f938bb (diff)
Include version in text of "About" tab.
-rw-r--r--plugingui/mainwindow.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc
index 4e2d8ac..b37185c 100644
--- a/plugingui/mainwindow.cc
+++ b/plugingui/mainwindow.cc
@@ -139,6 +139,16 @@ std::string MainWindow::getAboutText()
"\n");
about_text.append(about.data());
+ // Version
+ about_text.append(
+ "\n"
+ "\n"
+ "=============\n"
+ " Version\n"
+ "=============\n"
+ "\n");
+ about_text.append(std::string(VERSION) + "\n");
+
// Authors
about_text.append(
"\n"