summaryrefslogtreecommitdiffstats
path: root/kweather/weather_icon.h
Commit message (Collapse)AuthorAgeFilesLines
* Implemented icon theme option.Mavridis Philippe2022-01-141-5/+26
| | | | | | | | | | | | | Changes in this commit include: * The option itself; * A method of updating the option right after Apply or Ok is pressed in the settings dialog; * A new WeatherIconPrivate class to store the methods previously in WeatherIcons, as well as the settings; * Improved icon name helper function in METAR parser; * A few cleanups to the WeatherIcon class. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: improved fallback mechanism.Mavridis Philippe2022-01-141-1/+2
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: updated icon handling.Mavridis Philippe2022-01-141-0/+20
The newly added class abstracts away icon names from the main code and has the ability to fall back to "safer" icon choices so as to ensure (if possible) icon theme consistency. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>