mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-06 21:28:26 +02:00
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:
@@ -121,9 +121,11 @@ int CWeatherSetup::showSelectWeatherLocation()
|
|||||||
|
|
||||||
delete selector;
|
delete selector;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_settings.weather_location = WEATHER_LOCATION_OPTIONS[select].value;
|
g_settings.weather_location = WEATHER_LOCATION_OPTIONS[select].value;
|
||||||
g_settings.weather_city = std::string(WEATHER_LOCATION_OPTIONS[select].key);
|
g_settings.weather_city = std::string(WEATHER_LOCATION_OPTIONS[select].key);
|
||||||
CWeather::getInstance()->setCoords(g_settings.weather_location, g_settings.weather_city);
|
CWeather::getInstance()->setCoords(g_settings.weather_location, g_settings.weather_city);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -34,7 +34,6 @@ class CWeatherSetup : public CMenuTarget, CChangeObserver
|
|||||||
int showWeatherSetup();
|
int showWeatherSetup();
|
||||||
int showSelectWeatherLocation();
|
int showSelectWeatherLocation();
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CWeatherSetup();
|
CWeatherSetup();
|
||||||
~CWeatherSetup();
|
~CWeatherSetup();
|
||||||
@@ -42,5 +41,4 @@ class CWeatherSetup : public CMenuTarget, CChangeObserver
|
|||||||
bool changeNotify(const neutrino_locale_t OptionName, void */*data*/);
|
bool changeNotify(const neutrino_locale_t OptionName, void */*data*/);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user