diff --git a/dataengines/weather/ions/ion.h b/dataengines/weather/ions/ion.h --- a/dataengines/weather/ions/ion.h +++ b/dataengines/weather/ions/ion.h @@ -122,7 +122,7 @@ enum ConditionIcons { ClearDay = 1, FewCloudsDay, PartlyCloudyDay, Overcast, Rain, LightRain, Showers, ChanceShowersDay, Thunderstorm, Hail, Snow, LightSnow, Flurries, FewCloudsNight, ChanceShowersNight, - PartlyCloudyNight, ClearNight, Mist, Haze, FreezingRain, + PartlyCloudyNight, ClearNight, Mist, Haze, Wind, FreezingRain, RainSnow, FreezingDrizzle, ChanceThunderstormDay, ChanceThunderstormNight, ChanceSnowDay, ChanceSnowNight, NotAvailable }; diff --git a/dataengines/weather/ions/ion.cpp b/dataengines/weather/ions/ion.cpp --- a/dataengines/weather/ions/ion.cpp +++ b/dataengines/weather/ions/ion.cpp @@ -188,6 +188,8 @@ return QStringLiteral("weather-fog"); case Haze: return QStringLiteral("weather-fog"); + case Wind: + return QStringLiteral("weather-fog"); // TODO: need a better icon case FreezingRain: return QStringLiteral("weather-freezing-rain"); case FreezingDrizzle: diff --git a/dataengines/weather/ions/noaa/ion_noaa.cpp b/dataengines/weather/ions/noaa/ion_noaa.cpp --- a/dataengines/weather/ions/noaa/ion_noaa.cpp +++ b/dataengines/weather/ions/noaa/ion_noaa.cpp @@ -757,6 +757,10 @@ // temperature condition has not hint about air ingredients, so let's assume the sky is clear when it is hot result = isDayTime ? IonInterface::ClearDay : IonInterface::ClearNight; + } else if (weather.contains (QLatin1String("breez")) || + weather.contains (QLatin1String("wind")) || + weather.contains (QLatin1String("gust"))) { + result = IonInterface::Wind; } else { result = IonInterface::NotAvailable; }