[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:23 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-runner.git;a=commitdiff;h=3161c17
The following commit has been merged in the master branch:
commit 3161c17a84d602c3fd4244c4a9af58c5cf85cd8d
Author: Dan Vrátil <dan at progdan.cz>
Date: Sun Mar 11 21:13:12 2012 +0100
Fix starting file transfer
---
contactrunner.cpp | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/contactrunner.cpp b/contactrunner.cpp
index 1765a3f..77bb920 100644
--- a/contactrunner.cpp
+++ b/contactrunner.cpp
@@ -220,6 +220,8 @@ void ContactRunner::match(Plasma::RunnerContext& context)
void ContactRunner::run(const Plasma::RunnerContext& context, const Plasma::QueryMatch& match)
{
+ Q_UNUSED(context)
+
/* Remove the ID prefix added by Krunner */
QString id = match.id().remove("KRunnerKTPContacts_");
@@ -283,7 +285,10 @@ void ContactRunner::run(const Plasma::RunnerContext& context, const Plasma::Quer
Tp::FileTransferChannelCreationProperties properties(
filename, KMimeType::findByFileContent(filename)->name());
- account->createFileTransfer(contact, properties, QDateTime::currentDateTime(), "bla");
+ account->createFileTransfer(contact,
+ properties,
+ QDateTime::currentDateTime(),
+ "org.freedesktop.Telepathy.Client.KDE.FileTransfer");
}
} else if (match.selectedAction() == action("start-desktop-sharing")) {
--
ktp-contact-runner packaging
More information about the pkg-kde-commits
mailing list