summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: