From 08a47abd0b70be54439f8ba437d49b9aa5d4573d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 22 Jan 2022 00:54:24 +0100 Subject: [PATCH] weather-setup: rename showSelectWeatherLocation() => selectLocation() Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/caa3711a48fadeca11f8ae8b7e2f4f0be6efce13 Author: vanhofen Date: 2022-01-22 (Sat, 22 Jan 2022) Origin message was: ------------------ - weather-setup: rename showSelectWeatherLocation() => selectLocation() --- src/gui/weather_setup.cpp | 4 ++-- src/gui/weather_setup.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);