Store GC Settings in multiple .INI files instead of system specific (Registry, PLIST,..) format

... change storage format to .INI files (which is QTs cross-system format)
... differentiate between System, Global and Athlete specific settings
... store the Global Settings in the AthleteDirectory (root)
... store the Athlete specific Settings in the Athletes Names subdir /config
... migrate existing Settings from current location into new formats "on-the-fly"
This commit is contained in:
Joern
2015-09-18 18:02:32 +02:00
parent 5491afe316
commit 33d77d11e8
27 changed files with 1137 additions and 352 deletions

View File

@@ -54,7 +54,7 @@ DataProcessorFactory::autoProcess(RideFile *ride)
while (i.hasNext()) {
i.next();
QString configsetting = QString("dp/%1/apply").arg(i.key());
if (appsettings->value(NULL, configsetting, "Manual").toString() == "Auto")
if (appsettings->value(NULL, GC_QSETTINGS_GLOBAL_GENERAL+configsetting, "Manual").toString() == "Auto")
i.value()->postProcess(ride);
}