summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
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_aruco
parentc58c0af311892929dbce4e5437c4035214552438 (diff)
Downcase settings directory. Only affects Linux
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 6fff39d3..dcd91994 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -101,7 +101,7 @@ static resolution_tuple resolution_choices[] = {
void Tracker::load_settings()
{
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( "aruco-Tracker" );
@@ -396,7 +396,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( "aruco-Tracker" );
ui.cameraName->setCurrentIndex(iniFile.value("camera-index", -1).toInt() + 1);
@@ -440,7 +440,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( "aruco-Tracker" );