diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-28 06:59:05 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-28 06:59:05 +0200 |
commit | dfdfe5f030f75399d6f0c93c56e7aa0b84c30e9e (patch) | |
tree | a65d7233c1bf088cc1f013dccb832f3f9cf5b7de | |
parent | 8f158e544705a0fa17216c2b8f1f8eeec37af991 (diff) |
fix Linux build
Fixes #208
-rwxr-xr-x[-rw-r--r--] | facetracknoir/facetracknoir.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index dfa13577..6d18522b 100644..100755 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -280,6 +280,9 @@ void FaceTrackNoIR::save() { save_mappings(); #if defined(__unix) || defined(__linux) + QSettings settings("opentrack"); + + QString currentFile = settings.value("SettingsFile", QCoreApplication::applicationDirPath() + "/settings/default.ini").toString(); QByteArray bytes = QFile::encodeName(currentFile); const char* filename_as_asciiz = bytes.constData(); |