From 6c1e155cfe87a0e11f154336b2297c8cd3c48b68 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Wed, 20 Mar 2019 23:51:49 +0100 Subject: [PATCH] - weather: allow to get city Signed-off-by: Thilo Graf --- src/gui/weather.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/weather.h b/src/gui/weather.h index 23b4ac093..a1fadf064 100644 --- a/src/gui/weather.h +++ b/src/gui/weather.h @@ -64,6 +64,10 @@ class CWeather void setCoords(std::string new_coords, std::string new_city = "Unknown"); void show(int x = 50, int y = 50); void hide(); + std::string getCity() + { + return city; + }; std::string getActTemp() { return to_string((int)(act_temp + 0.5));