From 2f68a24d75abeb1dbacf29ed2c08fed3e4f518ca Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 2 Sep 2024 21:06:01 +0200 Subject: [PATCH] weather-setup: fix typo Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/c75df7211c35a0f399b19e197b4ac6d9bbf3e3c3 Author: vanhofen Date: 2024-09-02 (Mon, 02 Sep 2024) Origin message was: ------------------ - weather-setup: fix typo ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/weather_setup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/weather_setup.cpp b/src/gui/weather_setup.cpp index 8615cfb2a..f92401dcc 100644 --- a/src/gui/weather_setup.cpp +++ b/src/gui/weather_setup.cpp @@ -106,11 +106,11 @@ 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); -#if ENABLE_WEATHER_KEY_MANAGE - mf_we->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_API_VERSION); -#endif + weather_api->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);