diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-12-21 10:09:20 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2022-01-14 12:39:14 +0200 |
commit | 6a9693ddcd2d0d18ec7e9f734b17cb37a2b9b090 (patch) | |
tree | 880774a4a16da0aac21e16a7d5de676241104bc1 /kweather | |
parent | 432bc8184cbb2c599e351f4b09b2ad3be0cdba67 (diff) | |
download | tdetoys-6a9693ddcd2d0d18ec7e9f734b17cb37a2b9b090.tar.gz tdetoys-6a9693ddcd2d0d18ec7e9f734b17cb37a2b9b090.zip |
Refine kdDebug() calls according to recommendations.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather')
-rw-r--r-- | kweather/weather_icon.cpp | 10 |
1 files 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<TQString,TQString> 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<TQString,TQString> 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); } } |