[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:08:25 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=b445443

The following commit has been merged in the master branch:
commit b445443d2ef47d785508548e17df530d5f4e34ba
Author: Marcin Ziemiński <zieminn at gmail.com>
Date:   Wed Aug 20 22:22:54 2014 +0200

    Add optional debug output of TpQt
    
    Signed-off-by: Marcin Ziemiński <zieminn at gmail.com>
---
 otr-proxy/KTpProxy/main.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/otr-proxy/KTpProxy/main.cpp b/otr-proxy/KTpProxy/main.cpp
index 9a87c88..d2b3287 100644
--- a/otr-proxy/KTpProxy/main.cpp
+++ b/otr-proxy/KTpProxy/main.cpp
@@ -25,6 +25,7 @@
 #include <KDebug>
 
 #include <KTp/core.h>
+#include <KTp/debug.h>
 
 #include <QDBusConnection>
 #include <QCoreApplication>
@@ -57,6 +58,10 @@ int main(int argc, char *argv[])
 {
     QCoreApplication app(argc, argv);
 
+    if(QCoreApplication::arguments().contains(QLatin1String("--debug"))) {
+        KTp::Debug::installCallback(true, true);
+    }
+
     Tp::registerTypes();
     Tp::registerProxyTypes();
     OTRL_INIT;

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list