]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix the build of kde-baseapps temporarily (categorized logging in DolphinPart)
authorEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Tue, 24 Feb 2015 14:52:45 +0000 (15:52 +0100)
committerEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Tue, 24 Feb 2015 14:52:45 +0000 (15:52 +0100)
src/dolphinpart.cpp

index 3473218e56f45ff59b12f0f8c6edad8a1fbbc111..2679ac3dff0708a122995ae17f7966c7e5073dbc 100644 (file)
@@ -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 {
-        qCWarning(DolphinDebug) << "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)
 {
-    qCDebug(DolphinDebug) << 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)
 {
-    //qCDebug(DolphinDebug) << 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);