summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--facetracknoir/facetracknoir.cpp3
-rw-r--r--installer/opentrack-installer.iss3
-rw-r--r--opentrack-version.h1
3 files changed, 5 insertions, 2 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index f8a1f1f0..f2bb5439 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -25,6 +25,7 @@
#include "shortcuts.h"
#include "tracker.h"
#include "curve-config.h"
+#include "opentrack-version.h"
#include <QDebug>
#if defined(_WIN32)
@@ -419,7 +420,7 @@ void FaceTrackNoIR::loadSettings() {
// Put the filename in the window-title.
//
QFileInfo pathInfo ( currentFile );
- setWindowTitle ( "opentrack 2.0a6 - " + pathInfo.fileName() );
+ setWindowTitle ( ("opentrack " OPENTRACK_VERSION) + pathInfo.fileName() );
//
// Get a List of all the INI-files in the (currently active) Settings-folder.
diff --git a/installer/opentrack-installer.iss b/installer/opentrack-installer.iss
index f7b2c272..30669ee5 100644
--- a/installer/opentrack-installer.iss
+++ b/installer/opentrack-installer.iss
@@ -1,8 +1,9 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+#include "../opentrack-version.h"
#define MyAppName "opentrack"
-#define MyAppVersion "2.0a6"
+#define MyAppVersion OPENTRACK_VERSION
#define MyAppPublisher "opentrack"
#define MyAppURL "http://github.com/opentrack/opentrack"
#define MyAppExeName "opentrack.exe"
diff --git a/opentrack-version.h b/opentrack-version.h
new file mode 100644
index 00000000..4a60f25e
--- /dev/null
+++ b/opentrack-version.h
@@ -0,0 +1 @@
+#define OPENTRACK_VERSION "2.0a6"