summaryrefslogtreecommitdiffstats
path: root/kweather
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-11-15 12:16:16 +0200
committerMavridis Philippe <mavridisf@gmail.com>2022-01-14 12:37:00 +0200
commitd14d3ab2fd377e5b4b32d9f17a1b3d5e12b5421b (patch)
treec4d4b38c9f347872b0d3adc1f00f27f239dd594f /kweather
parentdf744f540c939da2f4c329e321582f4729ada839 (diff)
downloadtdetoys-d14d3ab2fd377e5b4b32d9f17a1b3d5e12b5421b.tar.gz
tdetoys-d14d3ab2fd377e5b4b32d9f17a1b3d5e12b5421b.zip
KWeather: Fixed comments
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather')
-rw-r--r--kweather/metar_parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kweather/metar_parser.cpp b/kweather/metar_parser.cpp
index c7baa62..6c91ee3 100644
--- a/kweather/metar_parser.cpp
+++ b/kweather/metar_parser.cpp
@@ -868,14 +868,14 @@ TQString MetarParser::iconName( int condition, bool night, int strength ) const
TQString _iconName;
if( strength != 0 )
{
- // Simple
+ // Ranged
WeatherIcon* wi = new WeatherIcon( condition, night, strength );
_iconName = wi->name();
delete wi;
}
else
{
- // Ranged
+ // Simple
WeatherIcon* wi = new WeatherIcon( condition, night );
_iconName = wi->name();
delete wi;