From c9e66fc8001b90acb7be0c7dea38c64ea8dbaa76 Mon Sep 17 00:00:00 2001 From: GetAway Date: Sat, 24 Aug 2024 09:10:51 +0200 Subject: [PATCH] weather-setup.cpp: enable api version chooser --- src/gui/weather_setup.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/weather_setup.cpp b/src/gui/weather_setup.cpp index f612862e9..2fc681af1 100644 --- a/src/gui/weather_setup.cpp +++ b/src/gui/weather_setup.cpp @@ -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);