diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-23 19:53:43 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-23 19:53:43 +0200 |
commit | 8feff247dca2f9711d9d6a380df73ab45154536c (patch) | |
tree | ee194284bac864a04b7e3760819824c101a63c2e | |
parent | 76a5947369612e737bedd86faf215a910abaead7 (diff) |
Really fix the build this time
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 1 | ||||
-rw-r--r-- | facetracknoir/facetracknoir.h | 5 |
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(); |