mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
weather-setup: add country to hint text
Origin commit data
------------------
Branch: ni/coolstream
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
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -121,8 +121,12 @@ int CWeatherSetup::showSelectWeatherLocation()
|
|||||||
CMenuForwarder *mf;
|
CMenuForwarder *mf;
|
||||||
for (size_t i = 0; i < locations.size(); i++)
|
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 = 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);
|
m->addItem(mf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user