summaryrefslogtreecommitdiffstats
path: root/kweather/weatherservice.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-11-15 15:01:53 +0200
committerMavridis Philippe <mavridisf@gmail.com>2022-01-14 12:37:06 +0200
commitd2b868dfa4900f549802ce4a3f2f061ba31bdb04 (patch)
tree2ce9114b93b37c87bc1e0f5f75b947d257935f32 /kweather/weatherservice.cpp
parent0256788f8eac8894e801e2f92d14d9a3d7c99940 (diff)
downloadtdetoys-d2b868dfa4900f549802ce4a3f2f061ba31bdb04.tar.gz
tdetoys-d2b868dfa4900f549802ce4a3f2f061ba31bdb04.zip
KWeather: improved fallback mechanism.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather/weatherservice.cpp')
-rw-r--r--kweather/weatherservice.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/kweather/weatherservice.cpp b/kweather/weatherservice.cpp
index c02ca3b..f7e23d6 100644
--- a/kweather/weatherservice.cpp
+++ b/kweather/weatherservice.cpp
@@ -151,10 +151,8 @@ TQString WeatherService::iconFileName(const TQString &stationID)
{
TQString _name = m_weatherLib->iconName(stationID);
TQString icon = kapp->iconLoader()->iconPath(_name, TDEIcon::Desktop, true);
- kdDebug(12006) << "icon: " << icon << endl;
if( icon.isNull() )
{
- kdDebug(12006) << "fallback!" << endl;
icon = locate( "data", "kweather/" + _name + ".png" );
}
return icon;