[SCM] ktp-kded-integration-module packaging branch, master, updated. debian/15.12.1-2-382-gbd961c2
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:13:14 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-kded-module.git;a=commitdiff;h=2b8cf25
The following commit has been merged in the master branch:
commit 2b8cf258ee8bc8830847f8139975e0a4f1cf4d10
Author: Dario Freddi <dario.freddi at collabora.com>
Date: Fri Nov 25 23:19:20 2011 +0100
Watch over the subscripton request
---
contact-request-handler.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/contact-request-handler.cpp b/contact-request-handler.cpp
index b86ad4c..d30af9c 100644
--- a/contact-request-handler.cpp
+++ b/contact-request-handler.cpp
@@ -242,7 +242,9 @@ void ContactRequestHandler::onAuthorizePresencePublicationFinished(Tp::PendingOp
// If needed, reiterate the request on the other end
if (contact->manager()->canRequestPresenceSubscription() &&
contact->subscriptionState() == Tp::Contact::PresenceStateNo) {
- contact->manager()->requestPresenceSubscription(QList< Tp::ContactPtr >() << contact);
+ connect(contact->manager()->requestPresenceSubscription(QList< Tp::ContactPtr >() << contact),
+ SIGNAL(finished(Tp::PendingOperation*)),
+ this, SLOT(onFinalizeSubscriptionFinished(Tp::PendingOperation*)));
}
// Update the menu
--
ktp-kded-integration-module packaging
More information about the pkg-kde-commits
mailing list