summaryrefslogtreecommitdiffstats
path: root/kweather/weather_icon.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-11-15 12:17:54 +0200
committerMavridis Philippe <mavridisf@gmail.com>2022-01-14 12:37:03 +0200
commit6e43236a7514137f328a044b9ff320f2ed46afb2 (patch)
tree0440beab1762349b7d3d2483fe13025e934c8b33 /kweather/weather_icon.cpp
parentd14d3ab2fd377e5b4b32d9f17a1b3d5e12b5421b (diff)
downloadtdetoys-6e43236a7514137f328a044b9ff320f2ed46afb2.tar.gz
tdetoys-6e43236a7514137f328a044b9ff320f2ed46afb2.zip
KWeather: Use brackets block for better readability
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather/weather_icon.cpp')
-rw-r--r--kweather/weather_icon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kweather/weather_icon.cpp b/kweather/weather_icon.cpp
index 6ea3287..21e94cf 100644
--- a/kweather/weather_icon.cpp
+++ b/kweather/weather_icon.cpp
@@ -127,7 +127,9 @@ WeatherIcon::WeatherIcon( int condition, bool night, unsigned int strength )
name = "weather-snow-ample";
TQString test_icon = name + "-day";
if ( iconExists(test_icon) )
+ {
break;
+ }
}
case 4: { iconName = "weather-snow-scattered"; return; }
case 5: