From 6a9693ddcd2d0d18ec7e9f734b17cb37a2b9b090 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Tue, 21 Dec 2021 10:09:20 +0200 Subject: Refine kdDebug() calls according to recommendations. Signed-off-by: Mavridis Philippe --- kweather/weather_icon.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kweather/weather_icon.cpp b/kweather/weather_icon.cpp index 8cd2520..59f55da 100644 --- a/kweather/weather_icon.cpp +++ b/kweather/weather_icon.cpp @@ -38,17 +38,17 @@ bool WeatherIconPrivate::usingIconTheme() TQPair WeatherIconPrivate::findIcon( TQStringList fallback ) { - kdDebug() << "[WeatherIcon::findIcon] use icon theme? " << m_useIconTheme << endl; + kdDebug(12006) << "[findIcon] Use icon theme? " << m_useIconTheme << endl; if( m_useIconTheme ) { // Check in theme for ( TQStringList::Iterator icon = fallback.begin(); icon != fallback.end(); ++icon ) { - kdDebug() << "[WeatherIcon::findIcon] Searching for `" << *icon << "` in theme" << endl; + kdDebug(12006) << "[findIcon] Searching for `" << *icon << "` in theme" << endl; TQString iPath = iconPath(*icon, true); if( !( iPath.isNull() ) ) { - kdDebug() << "[WeatherIcon::findIcon] FOUND `" << *icon << "` in theme: " << iPath << endl; + kdDebug(12006) << "[findIcon] Found `" << *icon << "` in theme: " << iPath << endl; return qMakePair(*icon, iPath); } } @@ -57,11 +57,11 @@ TQPair WeatherIconPrivate::findIcon( TQStringList fallback ) // Check in kweather fallback for ( TQStringList::Iterator icon = fallback.begin(); icon != fallback.end(); ++icon ) { - kdDebug() << "[WeatherIcon::findIcon] Searching for `" << *icon << "` in kweather icons" << endl; + kdDebug(12006) << "[findIcon] Searching for `" << *icon << "` in kweather icons" << endl; TQString iPath = iconPath(*icon, false); if( !( iPath.isNull() ) ) { - kdDebug() << "[WeatherIcon::findIcon] FOUND `" << *icon << "` in kweather icons: " << iPath << endl; + kdDebug(12006) << "[findIcon] Found `" << *icon << "` in kweather icons: " << iPath << endl; return qMakePair(*icon, iPath); } } -- cgit v1.2.3