weather_setup: formatting code using astyle

Origin commit data
------------------
Branch: ni/coolstream
Commit: 40b5b553a3
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-18 (Tue, 18 Jan 2022)

Origin message was:
------------------
- weather_setup: formatting code using astyle

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2022-01-18 23:31:52 +01:00
parent b1a16e818c
commit f3e0778129
2 changed files with 13 additions and 13 deletions

View File

@@ -121,9 +121,11 @@ int CWeatherSetup::showSelectWeatherLocation()
delete selector;
}
g_settings.weather_location = WEATHER_LOCATION_OPTIONS[select].value;
g_settings.weather_city = std::string(WEATHER_LOCATION_OPTIONS[select].key);
CWeather::getInstance()->setCoords(g_settings.weather_location, g_settings.weather_city);
return res;
}

View File

@@ -34,7 +34,6 @@ class CWeatherSetup : public CMenuTarget, CChangeObserver
int showWeatherSetup();
int showSelectWeatherLocation();
public:
CWeatherSetup();
~CWeatherSetup();
@@ -42,5 +41,4 @@ class CWeatherSetup : public CMenuTarget, CChangeObserver
bool changeNotify(const neutrino_locale_t OptionName, void */*data*/);
};
#endif