[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:07:34 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=4566fe3
The following commit has been merged in the master branch:
commit 4566fe361663ae9a5522c149935dd27a83f4a66f
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Mon Feb 11 10:33:22 2013 +0100
Remove useless forloop
---
kpeople/nepomuk-feeder/account.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/kpeople/nepomuk-feeder/account.cpp b/kpeople/nepomuk-feeder/account.cpp
index bdb616d..43b1a43 100644
--- a/kpeople/nepomuk-feeder/account.cpp
+++ b/kpeople/nepomuk-feeder/account.cpp
@@ -119,13 +119,6 @@ void Account::onContactManagerStateChanged(Tp::ContactListState state)
if (state == Tp::ContactListStateSuccess) {
Tp::Contacts contacts = m_connection->contactManager()->allKnownContacts();
- // Create the hash containing all the contacts to notify the storage of the
- // full set of contacts that still exist when the account is connected.
- // This *must* be done before creating the contact wrapper objects.
- QList<QString> initialContacts;
- foreach (const Tp::ContactPtr &contact, contacts) {
- initialContacts.append(contact->id());
- }
emit initialContactsLoaded(m_account->objectPath(), contacts);
// Create wrapper objects for all the Contacts.
@@ -194,7 +187,6 @@ void Account::onNewContact(const Tp::ContactPtr &contact)
SLOT(onContactAvatarChanged(Tp::AvatarData)));
emit contactCreated(m_account->objectPath(), contact);
-
}
}
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list