[SCM] ktp-contact-runner packaging branch, master, updated. debian/15.12.1-2-244-g38a1f58

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 17:50:32 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-runner.git;a=commitdiff;h=536f760

The following commit has been merged in the master branch:
commit 536f760b8c287880e548ac17a63430ba029adb40
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Sun Sep 30 19:43:41 2012 +0200

    Fix invoking ktp-log-viewer with preselected FB contacts
    
    Reviewed-by: David Edmundson
---
 src/contactrunner.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/contactrunner.cpp b/src/contactrunner.cpp
index a3b336f..d44017d 100644
--- a/src/contactrunner.cpp
+++ b/src/contactrunner.cpp
@@ -285,8 +285,9 @@ void ContactRunner::run(const Plasma::RunnerContext &context, const Plasma::Quer
 
     } else if (match.selectedAction() == action(QLatin1String("show-log-viewer"))) {
 
+	/* Use "--" so that KCmdLineArgs does not try to parse UIDs starting with "-" as arguments */
         KToolInvocation::kdeinitExec(QLatin1String("ktp-log-viewer"),
-                                     QStringList() << account->uniqueIdentifier() << contact->id());
+                                     QStringList() << QLatin1String("--") << account->uniqueIdentifier() << contact->id());
 
     }
 }

-- 
ktp-contact-runner packaging



More information about the pkg-kde-commits mailing list