mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
- weather: don't add "°C" to temperatures
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -66,11 +66,11 @@ class CWeather
|
|||||||
void hide();
|
void hide();
|
||||||
std::string getActTemp()
|
std::string getActTemp()
|
||||||
{
|
{
|
||||||
return to_string((int)(act_temp + 0.5)) + "°C";
|
return to_string((int)(act_temp + 0.5));
|
||||||
};
|
};
|
||||||
std::string getForecastTemp(int i = 0)
|
std::string getForecastTemp(int i = 0)
|
||||||
{
|
{
|
||||||
return to_string((int)(v_forecast[i].max_temp + 0.5)) + "°C";
|
return to_string((int)(v_forecast[i].max_temp + 0.5));
|
||||||
};
|
};
|
||||||
std::string getActIcon()
|
std::string getActIcon()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user