[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:06:39 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=1f0c108
The following commit has been merged in the master branch:
commit 1f0c108356a9029e46f816a8363ba4b1f03b3634
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Tue Mar 26 17:05:37 2013 +0100
Treat metacontacts as normal contacts in the filter
Reviewed-by: David Edmundson
---
KTp/Models/contacts-filter-model.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/KTp/Models/contacts-filter-model.cpp b/KTp/Models/contacts-filter-model.cpp
index d3bfb32..42e938d 100644
--- a/KTp/Models/contacts-filter-model.cpp
+++ b/KTp/Models/contacts-filter-model.cpp
@@ -821,7 +821,7 @@ bool ContactsFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sou
QModelIndex index = sourceModel()->index(sourceRow, 0, sourceParent);
int type = index.data(KTp::RowTypeRole).toInt();
- if (type == KTp::ContactRowType) {
+ if (type == KTp::ContactRowType || type == KTp::PersonRowType) {
return d->filterAcceptsContact(index);
}
else if (type == KTp::AccountRowType) {
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list