mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
weather-setup.cpp: enable api version chooser
This commit is contained in:
@@ -106,11 +106,9 @@ int CWeatherSetup::showWeatherSetup()
|
||||
ms_oservices->addItem(mf_we);
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
weather_api = new CMenuOptionChooser(LOCALE_WEATHER_API_VERSION, &weather_api_version, WEATHER_API_OPTIONS, WEATHER_API_OPTION_COUNT, CApiKey::check_weather_api_key(), this);
|
||||
mf_we->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_API_VERSION);
|
||||
ms_oservices->addItem(weather_api);
|
||||
#endif
|
||||
|
||||
CMenuForwarder *mf_wl = new CMenuForwarder(LOCALE_WEATHER_LOCATION, g_settings.weather_enabled, g_settings.weather_city, this, "select_location");
|
||||
mf_wl->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_LOCATION);
|
||||
|
Reference in New Issue
Block a user