summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/facetracknoir.cpp1
-rw-r--r--facetracknoir/facetracknoir.h5
2 files changed, 2 insertions, 4 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 4884001e..c8e2fae5 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -91,6 +91,7 @@ static void fill_combobox(const QString& filter, QList<DynamicLibrary*>& list, Q
// Setup the Main Dialog
//
FaceTrackNoIR::FaceTrackNoIR(QWidget *parent, Qt::WindowFlags flags) :
+ __opentrack_version__(OPENTRACK_VERSION),
QMainWindow(parent, flags),
#if defined(_WIN32)
keybindingWorker(NULL),
diff --git a/facetracknoir/facetracknoir.h b/facetracknoir/facetracknoir.h
index 7c7b7a87..a199635d 100644
--- a/facetracknoir/facetracknoir.h
+++ b/facetracknoir/facetracknoir.h
@@ -70,10 +70,7 @@ class FaceTrackNoIR : public QMainWindow, IDynamicLibraryProvider
Q_OBJECT
public:
-#ifndef _MSC_VER
- volatile
-#endif
- const char* __opentrack_version__ = "$OPENTRACK_VERSION=" OPENTRACK_VERSION "$";
+ volatile const char* __opentrack_version__;
FaceTrackNoIR(QWidget *parent = 0, Qt::WindowFlags flags = 0);
~FaceTrackNoIR();