From 88f23d9a8b37ec55321038f42009ca0b68660bc1 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 25 Aug 2024 17:56:56 +0200 Subject: [PATCH] fix compil without key manage --- 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 2fc681af1..8615cfb2a 100644 --- a/src/gui/weather_setup.cpp +++ b/src/gui/weather_setup.cpp @@ -107,7 +107,9 @@ int CWeatherSetup::showWeatherSetup() #endif 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 ms_oservices->addItem(weather_api); CMenuForwarder *mf_wl = new CMenuForwarder(LOCALE_WEATHER_LOCATION, g_settings.weather_enabled, g_settings.weather_city, this, "select_location");