weather: rename postcode => postalcode

Origin commit data
------------------
Commit: 3bd0161285
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-22 (Sat, 22 Jan 2022)

Origin message was:
------------------
- weather: rename postcode => postalcode
This commit is contained in:
vanhofen
2022-01-22 01:44:42 +01:00
parent 08a47abd0b
commit bb2a7aa316
10 changed files with 19 additions and 19 deletions

View File

@@ -1116,7 +1116,7 @@ int CNeutrinoApp::loadSetup(const char *fname)
g_settings.weather_city = configfile.getString("weather_city", WEATHER_DEFAULT_CITY);
g_settings.weather_location = configfile.getString("weather_location", WEATHER_DEFAULT_LOCATION);
g_settings.weather_postcode = configfile.getString("weather_postcode", WEATHER_DEFAULT_POSTCODE);
g_settings.weather_postalcode = configfile.getString("weather_postalcode", WEATHER_DEFAULT_POSTALCODE);
g_settings.youtube_dev_id = YT_DEV_KEY;
#if ENABLE_YOUTUBE_KEY_MANAGE
@@ -2148,7 +2148,7 @@ void CNeutrinoApp::saveSetup(const char *fname)
configfile.setString("weather_city", g_settings.weather_city);
configfile.setString("weather_location", g_settings.weather_location);
configfile.setString("weather_postcode", g_settings.weather_postcode);
configfile.setString("weather_postalcode", g_settings.weather_postalcode);
#if ENABLE_YOUTUBE_KEY_MANAGE
configfile.setString("youtube_dev_id", g_settings.youtube_dev_id);