summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:22:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:22:28 +0200
commit906d19822771df7bbd60246ff9f05a00ad87eba3 (patch)
treed76608837aee8b26b47ed8b882fcc9e490725df9 /facetracknoir/facetracknoir.cpp
parent083fd59b06aa9f9124e8161d915cc596e83f2589 (diff)
fixup! fix Linux build
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 3c36ab56..868b6dbf 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -214,6 +214,8 @@ void FaceTrackNoIR::save() {
save_mappings();
#if defined(__unix) || defined(__linux)
+ QSettings settings("opentrack");
+ const QString currentFile = settings.value ( "SettingsFile", QCoreApplication::applicationDirPath() + "/settings/default.ini" ).toString();
QByteArray bytes = QFile::encodeName(currentFile);
const char* filename_as_asciiz = bytes.constData();