diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-11-13 16:54:31 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2022-01-14 12:36:57 +0200 |
commit | bee2b453da43cadc324821c4c6a42ee915a4661a (patch) | |
tree | 81b75ff1e5195041657a3cb6a98bc3a77df92507 /kweather/weather_icon.cpp | |
parent | 76aebc5aa6a169fc22b6af4103580c935c276172 (diff) | |
download | tdetoys-bee2b453da43cadc324821c4c6a42ee915a4661a.tar.gz tdetoys-bee2b453da43cadc324821c4c6a42ee915a4661a.zip |
KWeather: support for weather icons from icon theme.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather/weather_icon.cpp')
-rw-r--r-- | kweather/weather_icon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kweather/weather_icon.cpp b/kweather/weather_icon.cpp index 3c61213..6e2f164 100644 --- a/kweather/weather_icon.cpp +++ b/kweather/weather_icon.cpp @@ -3,9 +3,9 @@ #include "weather_icon.h" WeatherIcon::WeatherIcon( int condition, bool night ) - : iconLoader() { TQString name; + iconLoader = new TDEIconLoader("kweather"); switch( condition ) { @@ -47,8 +47,8 @@ WeatherIcon::WeatherIcon( int condition, bool night ) } WeatherIcon::WeatherIcon( int condition, bool night, unsigned int strength ) - : iconLoader() { + iconLoader = new TDEIconLoader("kweather"); TQString name; switch ( condition ) |