diff --git a/src/gui/weather_setup.cpp b/src/gui/weather_setup.cpp index 24fd7d94f..80a1210f4 100644 --- a/src/gui/weather_setup.cpp +++ b/src/gui/weather_setup.cpp @@ -61,7 +61,7 @@ int CWeatherSetup::exec(CMenuTarget *parent, const std::string &actionKey) if (actionKey == "select_location") { - return showSelectWeatherLocation(); + return selectLocation(); } else if (actionKey == "find_location") { @@ -104,7 +104,7 @@ int CWeatherSetup::showWeatherSetup() return res; } -int CWeatherSetup::showSelectWeatherLocation() +int CWeatherSetup::selectLocation() { int select = 0; int res = 0; diff --git a/src/gui/weather_setup.h b/src/gui/weather_setup.h index 70fb9bdd3..e0891273e 100644 --- a/src/gui/weather_setup.h +++ b/src/gui/weather_setup.h @@ -47,7 +47,7 @@ class CWeatherSetup : public CMenuTarget, CChangeObserver std::string weather_api_key_short; int showWeatherSetup(); - int showSelectWeatherLocation(); + int selectLocation(); int findLocation(); void loadLocations(std::string filename);