|
|
|
@ -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;
|
|
|
|
|