[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:07:38 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=590d655

The following commit has been merged in the master branch:
commit 590d655721d4fa37acaffc2a6a9f9c5c9e358076
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Wed Sep 21 22:41:32 2011 +0300

    Improve comment.
---
 models/contact-model-item.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/models/contact-model-item.cpp b/models/contact-model-item.cpp
index d453956..67de9fa 100644
--- a/models/contact-model-item.cpp
+++ b/models/contact-model-item.cpp
@@ -52,7 +52,10 @@ struct ContactModelItem::Private
 ContactModelItem::ContactModelItem(const Tp::ContactPtr &contact)
     : mPriv(new Private(contact))
 {
-    (void) s_krfbAvailableChecker.operator->(); //start the d-bus query the first time this is called
+    //This effectively constructs the s_krfbAvailableChecker object the first
+    //time that this code is executed. This is to start the d-bus query early, so
+    //that data are available when we need them later in desktopSharingCapability()
+    (void) s_krfbAvailableChecker.operator->();
 
     connect(contact.data(),
             SIGNAL(aliasChanged(QString)),

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list