weather-setup: add country to hint text

Origin commit data
------------------
Commit: 3b2413353d
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-18 (Tue, 18 Jan 2022)

Origin message was:
------------------
- weather-setup: add country to hint text
This commit is contained in:
vanhofen
2022-01-18 23:55:41 +01:00
parent 5fe803f27d
commit 41f184dfb6

View File

@@ -121,8 +121,12 @@ int CWeatherSetup::showSelectWeatherLocation()
CMenuForwarder *mf;
for (size_t i = 0; i < locations.size(); i++)
{
std::string hint = locations[i].country;
hint += ": ";
hint += locations[i].coords.c_str();
mf = new CMenuForwarder(locations[i].city, true, NULL, selector, to_string(i).c_str());
mf->setHint(NEUTRINO_ICON_HINT_SETTINGS, locations[i].coords.c_str());
mf->setHint(NEUTRINO_ICON_HINT_SETTINGS, hint);
m->addItem(mf);
}