[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:28 UTC 2016


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

The following commit has been merged in the master branch:
commit 0c2e5f1a1898cc9686ed2a379c3a7cb96988546d
Author: George Kiagiadakis <kiagiadakis.george at gmail.com>
Date:   Sun Jun 17 19:43:43 2012 +0300

    Request calls of the Call1 channel type
---
 CMakeLists.txt        |  2 +-
 src/contactrunner.cpp | 15 ++++++++-------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bef5271..6210c85 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ set(CMAKE_MODULE_PATH
 
 # Find the required Libaries
 find_package(KDE4 REQUIRED)
-find_package(TelepathyQt4 REQUIRED)
+find_package(TelepathyQt4 0.9.1 REQUIRED)
 find_package(KTp REQUIRED)
 include(KDE4Defaults)
 
diff --git a/src/contactrunner.cpp b/src/contactrunner.cpp
index 34f0e19..3b4b0f2 100644
--- a/src/contactrunner.cpp
+++ b/src/contactrunner.cpp
@@ -309,16 +309,17 @@ void ContactRunner::run(const Plasma::RunnerContext &context, const Plasma::Quer
 
     } else if (match.selectedAction() == action("start-audio-call")) {
 
-        account->ensureStreamedMediaAudioCall(contact,
-                                              QDateTime::currentDateTime(),
-                                              "org.freedesktop.Telepathy.Client.KTp.CallUi");
+        account->ensureAudioCall(contact,
+                QLatin1String("audio"),
+                QDateTime::currentDateTime(),
+                QLatin1String("org.freedesktop.Telepathy.Client.KTp.CallUi"));
 
     } else if (match.selectedAction() == action("start-video-call")) {
 
-        account->ensureStreamedMediaVideoCall(contact,
-                                              true,
-                                              QDateTime::currentDateTime(),
-                                              "org.freedesktop.Telepathy.Client.KTp.CallUi");
+        account->ensureAudioVideoCall(contact,
+                QLatin1String("audio"), QLatin1String("video"),
+                QDateTime::currentDateTime(),
+                QLatin1String("org.freedesktop.Telepathy.Client.KTp.CallUi"));
 
     } else if (match.selectedAction() == action("start-file-transfer")) {
 

-- 
ktp-contact-runner packaging



More information about the pkg-kde-commits mailing list