┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.cpp
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-02-24 13:07:35 +0100
committerEmmanuel Pescosta <[email protected]>2015-02-24 13:07:35 +0100
commit169cca55b9621689712321da8c0425f8002d0008 (patch)
tree7035935aeb94de3a2c3872ee5fed914c80e41db2 /src/dolphinpart.cpp
parent6d9f5b21315bf7c9f6b08e32a89346e22c482714 (diff)
Replace kDebug/kWarning by categorized logging (org.kde.dolphin)
Diffstat (limited to 'src/dolphinpart.cpp')
-rw-r--r--src/dolphinpart.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp
index cd1ac52b8..3473218e5 100644
--- a/src/dolphinpart.cpp
+++ b/src/dolphinpart.cpp
@@ -24,7 +24,7 @@
#include <KAboutData>
#include <KActionCollection>
-#include <KDebug>
+#include "dolphindebug.h"
#include <KIconLoader>
#include <KLocalizedString>
#include <KMessageBox>
@@ -138,7 +138,7 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantL
connect(lister, &KDirLister::newItems, notifyExt, &DolphinPartListingNotificationExtension::slotNewItems);
connect(lister, &KDirLister::itemsDeleted, notifyExt, &DolphinPartListingNotificationExtension::slotItemsDeleted);
} else {
- kWarning() << "NULL KDirLister object! KParts::ListingNotificationExtension will NOT be supported";
+ qCWarning(DolphinDebug) << "NULL KDirLister object! KParts::ListingNotificationExtension will NOT be supported";
}
createActions();
@@ -340,7 +340,7 @@ void DolphinPart::slotMessage(const QString& msg)
void DolphinPart::slotErrorMessage(const QString& msg)
{
- kDebug() << msg;
+ qCDebug(DolphinDebug) << msg;
emit canceled(msg);
//KMessageBox::error(m_view, msg);
}
@@ -471,7 +471,7 @@ void DolphinPart::slotOpenContextMenu(const QPoint& pos,
void DolphinPart::slotDirectoryRedirection(const QUrl &oldUrl, const QUrl &newUrl)
{
- //kDebug() << oldUrl << newUrl << "currentUrl=" << url();
+ //qCDebug(DolphinDebug) << oldUrl << newUrl << "currentUrl=" << url();
if (oldUrl.matches(url(), QUrl::StripTrailingSlash /* #207572 */)) {
KParts::ReadOnlyPart::setUrl(newUrl);
const QString prettyUrl = newUrl.toDisplayString(QUrl::PreferLocalFile);