[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:08:42 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=2c881c9

The following commit has been merged in the master branch:
commit 2c881c909d7599b77d123ed5fe1bacf851858668
Author: Aleix Pol <aleixpol at kde.org>
Date:   Wed Feb 11 17:52:21 2015 +0100

    Don't create null fields if uri is not available
---
 kpeople/datasourceplugin/im-persons-data-source.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kpeople/datasourceplugin/im-persons-data-source.cpp b/kpeople/datasourceplugin/im-persons-data-source.cpp
index 4197d0a..b76db6e 100644
--- a/kpeople/datasourceplugin/im-persons-data-source.cpp
+++ b/kpeople/datasourceplugin/im-persons-data-source.cpp
@@ -340,7 +340,7 @@ void KTpAllContacts::onContactInvalidated()
     m_contacts.remove(uri);
 
     //set to offline and emit changed
-    AbstractContact::Ptr vcard = m_contactVCards[uri];
+    AbstractContact::Ptr vcard = m_contactVCards.value(uri);
     TelepathyContact *tpContact = static_cast<TelepathyContact*>(vcard.data());
     tpContact->insertProperty(S_KPEOPLE_PROPERTY_PRESENCE, QStringLiteral("offline"));
     Q_EMIT contactChanged(uri, vcard);

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list