Fix copy paste error in FixElevation

Introduced by 061cb93.
Fixes #3973
This commit is contained in:
Alejandro Martinez
2021-07-26 11:29:57 -03:00
parent a918a5c28e
commit b9fbcce56e

View File

@@ -136,7 +136,7 @@ FixElevation::postProcess(RideFile *ride, DataProcessorConfig *config=0, QString
// get settings
if (config == NULL) { // being called automatically
apiKey = appsettings->value(NULL, GC_DPFE_AK, "").toInt();
apiKey = appsettings->value(NULL, GC_DPFE_AK, "").toString();
} else { // being called manually
apiKey = ((FixElevationConfig*)(config))->ak->text();
}