[SCM] ktp-filetransfer-handler packaging branch, master, updated. debian/15.12.1-2-226-g825cd93

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:11:15 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-filetransfer-handler.git;a=commitdiff;h=e378a82

The following commit has been merged in the master branch:
commit e378a824de7297b898105ce2e2b1673de928b1ca
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Tue Jun 7 10:49:05 2011 +0200

    Add --debug option in command line
---
 src/main.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main.cpp b/src/main.cpp
index 74a4d49..0bfc682 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -34,12 +34,17 @@ int main(int argc, char* argv[])
     aboutData.addAuthor(ki18n("Daniele E. Domenichelli"), ki18n("Developer"), "daniele.domenichelli at gmail.com");
     aboutData.setProductName("telepathy/filetransfer");
 
+    // Add --debug as commandline option
+    KCmdLineOptions options;
+    options.add("debug", ki18n("Show telepathy debugging information"));
+    KCmdLineArgs::addCmdLineOptions(options);
+
     KCmdLineArgs::init(argc, argv, &aboutData);
     KUniqueApplication app;
 
     Tp::registerTypes();
     //Enable telepathy-Qt4 debug
-    Tp::enableDebug(true);
+    Tp::enableDebug(KCmdLineArgs::parsedArgs()->isSet("debug"));
     Tp::enableWarnings(true);
 
 

-- 
ktp-filetransfer-handler packaging



More information about the pkg-kde-commits mailing list