weather-setup: rename showSelectWeatherLocation() => selectLocation()

Origin commit data
------------------
Commit: caa3711a48
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-22 (Sat, 22 Jan 2022)

Origin message was:
------------------
- weather-setup: rename showSelectWeatherLocation() => selectLocation()
This commit is contained in:
vanhofen
2022-01-22 00:54:24 +01:00
parent 82bcb59d99
commit 08a47abd0b
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ int CWeatherSetup::exec(CMenuTarget *parent, const std::string &actionKey)
if (actionKey == "select_location") if (actionKey == "select_location")
{ {
return showSelectWeatherLocation(); return selectLocation();
} }
else if (actionKey == "find_location") else if (actionKey == "find_location")
{ {
@@ -104,7 +104,7 @@ int CWeatherSetup::showWeatherSetup()
return res; return res;
} }
int CWeatherSetup::showSelectWeatherLocation() int CWeatherSetup::selectLocation()
{ {
int select = 0; int select = 0;
int res = 0; int res = 0;

View File

@@ -47,7 +47,7 @@ class CWeatherSetup : public CMenuTarget, CChangeObserver
std::string weather_api_key_short; std::string weather_api_key_short;
int showWeatherSetup(); int showWeatherSetup();
int showSelectWeatherLocation(); int selectLocation();
int findLocation(); int findLocation();
void loadLocations(std::string filename); void loadLocations(std::string filename);