diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 15:22:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 15:22:28 +0200 |
commit | 906d19822771df7bbd60246ff9f05a00ad87eba3 (patch) | |
tree | d76608837aee8b26b47ed8b882fcc9e490725df9 /facetracknoir | |
parent | 083fd59b06aa9f9124e8161d915cc596e83f2589 (diff) |
fixup! fix Linux build
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 2 |
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(); |