From 0e7033dd09c78eed673bfcde768483f6ad925ff7 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sat, 13 Nov 2021 14:17:53 +0200 Subject: KWeather: updated icon handling. 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 --- kweather/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kweather/CMakeLists.txt') diff --git a/kweather/CMakeLists.txt b/kweather/CMakeLists.txt index dcf4722..b618585 100644 --- a/kweather/CMakeLists.txt +++ b/kweather/CMakeLists.txt @@ -36,7 +36,7 @@ tde_add_tdeinit_executable( kweatherreport AUTOMOC ##### kweatherservice (executable) ############## tde_add_executable( kweatherservice AUTOMOC - SOURCES main.cpp metar_parser.cpp + SOURCES main.cpp weather_icon.cpp metar_parser.cpp weatherlib.cpp weatherservice.cpp weatherservice.skel stationdatabase.cpp sun.cpp weatherservice.stub @@ -92,7 +92,7 @@ add_custom_command( # # tde_add_executable( metar_parser_test AUTOMOC # SOURCES metar_parser_test.cpp metar_parser.cpp -# stationdatabase.cpp sun.cpp +# weather_icon.cpp stationdatabase.cpp sun.cpp # ) # # add_test( NAME metar_parser_test-test -- cgit v1.2.1