mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user