fix compil without key manage

This commit is contained in:
Jacek Jendrzej
2024-08-25 17:56:56 +02:00
parent c9e66fc800
commit 88f23d9a8b

View File

@@ -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");