diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-02-24 13:07:35 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-02-24 13:07:35 +0100 |
| commit | 169cca55b9621689712321da8c0425f8002d0008 (patch) | |
| tree | 7035935aeb94de3a2c3872ee5fed914c80e41db2 /src/views/dolphinremoteencoding.cpp | |
| parent | 6d9f5b21315bf7c9f6b08e32a89346e22c482714 (diff) | |
Replace kDebug/kWarning by categorized logging (org.kde.dolphin)
Diffstat (limited to 'src/views/dolphinremoteencoding.cpp')
| -rw-r--r-- | src/views/dolphinremoteencoding.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/views/dolphinremoteencoding.cpp b/src/views/dolphinremoteencoding.cpp index fbf21c08f..961a7c800 100644 --- a/src/views/dolphinremoteencoding.cpp +++ b/src/views/dolphinremoteencoding.cpp @@ -26,7 +26,7 @@ #include "dolphinremoteencoding.h" #include "dolphinviewactionhandler.h" -#include <KDebug> +#include "dolphindebug.h" #include <KActionMenu> #include <KActionCollection> #include <QIcon> @@ -141,10 +141,10 @@ void DolphinRemoteEncoding::updateMenu() } } - kDebug() << "URL=" << m_currentURL << " charset=" << charset; + qCDebug(DolphinDebug) << "URL=" << m_currentURL << " charset=" << charset; if (!isFound) { - kWarning() << "could not find entry for charset=" << charset ; + qCWarning(DolphinDebug) << "could not find entry for charset=" << charset ; } else { m_menu->menu()->actions().at(id)->setChecked(true); } @@ -211,7 +211,7 @@ void DolphinRemoteEncoding::slotDefault() } for (QStringList::const_iterator it = domains.constBegin(); it != domains.constEnd();++it) { - kDebug() << "Domain to remove: " << *it; + qCDebug(DolphinDebug) << "Domain to remove: " << *it; if (config.hasGroup(*it)) { config.deleteGroup(*it); } else if (config.group("").hasKey(*it)) { |
