summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-14 15:35:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-14 15:35:21 +0200
commit611f781ea5a9f2260f3fa305cc2274bca48ec60d (patch)
treec1a166b60b362898f2f1d48b9a66a1259b4e0bdc /ftnoir_tracker_ht
parentc58c0af311892929dbce4e5437c4035214552438 (diff)
Downcase settings directory. Only affects Linux
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index b755010c..45c62f55 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -91,7 +91,7 @@ static resolution_tuple resolution_choices[] = {
static void load_settings(ht_config_t* config, Tracker* tracker)
{
QSettings settings("opentrack");
- QString currentFile = settings.value( "SettingsFile", QCoreApplication::applicationDirPath() + "/Settings/default.ini" ).toString();
+ QString currentFile = settings.value( "SettingsFile", QCoreApplication::applicationDirPath() + "/settings/default.ini" ).toString();
QSettings iniFile( currentFile, QSettings::IniFormat );
iniFile.beginGroup( "HT-Tracker" );
@@ -318,7 +318,7 @@ void TrackerControls::loadSettings()
names.prepend("Any available");
ui.cameraName->addItems(names);
QSettings settings("opentrack");
- QString currentFile = settings.value( "SettingsFile", QCoreApplication::applicationDirPath() + "/Settings/default.ini" ).toString();
+ QString currentFile = settings.value( "SettingsFile", QCoreApplication::applicationDirPath() + "/settings/default.ini" ).toString();
QSettings iniFile( currentFile, QSettings::IniFormat );
iniFile.beginGroup( "HT-Tracker" );
ui.cameraName->setCurrentIndex(iniFile.value("camera-index", -1).toInt() + 1);
@@ -362,7 +362,7 @@ void TrackerControls::loadSettings()
void TrackerControls::save()
{
QSettings settings("opentrack");
- QString currentFile = settings.value( "SettingsFile", QCoreApplication::applicationDirPath() + "/Settings/default.ini" ).toString();
+ QString currentFile = settings.value( "SettingsFile", QCoreApplication::applicationDirPath() + "/settings/default.ini" ).toString();
QSettings iniFile( currentFile, QSettings::IniFormat );
iniFile.beginGroup( "HT-Tracker" );