[SCM] ktp-kded-integration-module packaging branch, master, updated. debian/15.12.1-2-382-gbd961c2

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:13:05 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-kded-module.git;a=commitdiff;h=f6d8301

The following commit has been merged in the master branch:
commit f6d8301afdf188af2c106625ccb67a07d689585b
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Tue Nov 22 19:49:54 2011 +0100

    Better debug output
---
 telepathy-module.cpp | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/telepathy-module.cpp b/telepathy-module.cpp
index 4c71928..4ffbd3e 100644
--- a/telepathy-module.cpp
+++ b/telepathy-module.cpp
@@ -137,6 +137,8 @@ void TelepathyModule::onPluginActivated(bool active)
             m_pluginStack.insert(i, plugin);
         }
 
+        kDebug() << "Activating" << plugin->pluginName();
+
         if (!m_globalPresence->onlineAccounts()->accounts().isEmpty()) {
             //signal all global presence instances that they should not save global presence message
             QDBusMessage message = QDBusMessage::createSignal(QLatin1String("/Telepathy"),
@@ -151,6 +153,7 @@ void TelepathyModule::onPluginActivated(bool active)
         kDebug() << "Received deactivation request, current active plugins:" << m_pluginStack.size();
         while (!m_pluginStack.isEmpty()) {
             if (!m_pluginStack.first()->isActive()) {
+                kDebug() << "Deactivating" << m_pluginStack.first()->pluginName();
                 m_pluginStack.removeFirst();
             } else {
                 break;
@@ -173,7 +176,10 @@ void TelepathyModule::onPluginActivated(bool active)
         }
     }
 
-    kDebug() << "Number of active plugins:" << m_pluginStack.size();
+    kDebug() << "Active plugins (" << m_pluginStack.size() << ")";
+    for(int i = 0; i < m_pluginStack.size(); i++) {
+        kDebug() << "  " << m_pluginStack.at(i)->pluginName();
+    }
 }
 
 #include "telepathy-module.moc"

-- 
ktp-kded-integration-module packaging



More information about the pkg-kde-commits mailing list