From 6e43236a7514137f328a044b9ff320f2ed46afb2 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Mon, 15 Nov 2021 12:17:54 +0200 Subject: [PATCH] KWeather: Use brackets block for better readability Signed-off-by: Mavridis Philippe --- kweather/weather_icon.cpp | 2 ++ 1 file changed, 2 insertions(+) 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: