diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-02 06:51:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-03 17:16:59 +0100 |
commit | 4be56b29b1480457b64298ea2e1e7a01a4943adb (patch) | |
tree | a34343fd632349fe341160db8d8fe9393481af3d | |
parent | f4e3f4361c3658aee408a6fc02bff03c422fd266 (diff) |
pt: downcase settings/ dirname
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r-- | FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.cpp index 13ef49ec..db908465 100644 --- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.cpp +++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.cpp @@ -15,7 +15,7 @@ void TrackerSettings::load_ini() qDebug("TrackerSettings::load_ini()");
QSettings settings("Abbequerque Inc.", "FaceTrackNoIR"); // Registry settings (in HK_USER)
- 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 ); // Application settings (in INI-file)
iniFile.beginGroup( "PointTracker" );
@@ -60,7 +60,7 @@ void TrackerSettings::save_ini() const qDebug("TrackerSettings::save_ini()");
QSettings settings("Abbequerque Inc.", "FaceTrackNoIR"); // Registry settings (in HK_USER)
- 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 ); // Application settings (in INI-file)
iniFile.beginGroup ( "PointTracker" );
@@ -106,7 +106,7 @@ void TrackerDialogSettings::load_ini() qDebug("TrackerDialogSettings::load_ini()");
QSettings settings("Abbequerque Inc.", "FaceTrackNoIR"); // Registry settings (in HK_USER)
- 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 ); // Application settings (in INI-file)
iniFile.beginGroup( "PointTrackerDialog" );
@@ -132,7 +132,7 @@ void TrackerDialogSettings::save_ini() const qDebug("TrackerDialogSettings::save_ini()");
QSettings settings("Abbequerque Inc.", "FaceTrackNoIR"); // Registry settings (in HK_USER)
- 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 ); // Application settings (in INI-file)
iniFile.beginGroup ( "PointTrackerDialog" );
@@ -151,4 +151,4 @@ void TrackerDialogSettings::save_ini() const iniFile.setValue("CapHalfWidth", cap_x);
iniFile.setValue("CapHeight", cap_y);
iniFile.setValue("CapLength", cap_z);
-}
\ No newline at end of file +}
|