KWeather: Fixed fallback to default icons

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/18/head
Mavridis Philippe 3 years ago
parent bee2b453da
commit a21cf7acf6
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -150,7 +150,7 @@ TQString WeatherService::currentIconString(const TQString &stationID)
TQString WeatherService::iconFileName(const TQString &stationID)
{
TQString _name = m_weatherLib->iconName(stationID);
TQString icon = kapp->iconLoader()->iconPath(_name, TDEIcon::Desktop);
TQString icon = kapp->iconLoader()->iconPath(_name, TDEIcon::Desktop, true);
kdDebug(12006) << "icon: " << icon << endl;
if( icon.isNull() )
{

Loading…
Cancel
Save