From c24e9ffcc41e09904e7ab317d518ebc17a9ba432 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 21 Mar 2019 08:38:20 +0100 Subject: [PATCH] =?UTF-8?q?weather:=20add=20"=C2=B0C"=20to=20temperatures?= =?UTF-8?q?=20in=20show?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e211ea0073751bd0ca0417b014a0b8ef595ec8d1 Author: TangoCash Date: 2019-03-21 (Thu, 21 Mar 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/weather.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/weather.cpp b/src/gui/weather.cpp index b57a55c0a..94ddd146e 100644 --- a/src/gui/weather.cpp +++ b/src/gui/weather.cpp @@ -172,7 +172,7 @@ void CWeather::show(int x, int y) ptmp->setColorBody(form->getColorBody()); form->addCCItem(ptmp); - CComponentsText *temp = new CComponentsText(ptmp->getWidth() + 2*RADIUS_MID, ptmp->getHeight()/2 + RADIUS_MID - g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]->getHeight()/2, 0, 0, getActTemp(), CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]); + CComponentsText *temp = new CComponentsText(ptmp->getWidth() + 2*RADIUS_MID, ptmp->getHeight()/2 + RADIUS_MID - g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]->getHeight()/2, 0, 0, getActTemp() + "°C", CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]); temp->doPaintBg(false); temp->setTextColor(COL_INFOBAR_TEXT); form->addCCItem(temp);