From fd8202c674ebb60c0634de18b24a294020849851 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 3 May 2024 22:24:51 +0200 Subject: [PATCH] weather-setup: disable api version chooser until api version 3.0 won't work Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/fedb8d3b684cfc02049bd58ec70e5570c1324714 Author: vanhofen Date: 2024-05-03 (Fri, 03 May 2024) Origin message was: ------------------ - weather-setup: disable api version chooser until api version 3.0 won't work ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/weather_setup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/weather_setup.cpp b/src/gui/weather_setup.cpp index 9e83b636f..8abf5a031 100644 --- a/src/gui/weather_setup.cpp +++ b/src/gui/weather_setup.cpp @@ -106,9 +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); 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);