summaryrefslogtreecommitdiffstats
path: root/qt-ui/about.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-02-15 20:25:18 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-15 13:26:51 -0800
commitc45768a09ffcc6393912b74ed3661b5a110041e8 (patch)
treee0f322e344a337abd4d9aa40e85e21a58c65af5e /qt-ui/about.cpp
parentf6dbed1fc6c71251e1937cb1b63e96ff7a8251c3 (diff)
downloadsubsurface-c45768a09ffcc6393912b74ed3661b5a110041e8.tar.gz
add and use a version.c / version.h pair
version.c is now object code which is recompiled each time ssrf-version.h changes, while the interface file version.h remains that same at all times and files which include it will not need to be recompiled. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/about.cpp')
-rw-r--r--qt-ui/about.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/about.cpp b/qt-ui/about.cpp
index 361031599..203357010 100644
--- a/qt-ui/about.cpp
+++ b/qt-ui/about.cpp
@@ -1,5 +1,5 @@
#include "about.h"
-#include "ssrf-version.h"
+#include "version.h"
#include <QDesktopServices>
#include <QUrl>
#include <QShortcut>
@@ -9,7 +9,7 @@ SubsurfaceAbout::SubsurfaceAbout(QWidget *parent, Qt::WindowFlags f) : QDialog(p
ui.setupUi(this);
setWindowModality(Qt::ApplicationModal);
- QString versionString(GIT_VERSION_STRING);
+ QString versionString(subsurface_git_version());
QStringList readableVersions = QStringList() << "4.3.950" << "4.4 Beta 1" <<
"4.3.960" << "4.4 Beta 2" <<
"4.3.970" << "4.4 Beta 3";