mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user