[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:59 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=e2bb00e
The following commit has been merged in the master branch:
commit e2bb00e98f91cef90125ce8bb75798c50bea9e95
Author: Dan Vrátil <dvratil at redhat.com>
Date: Mon Jul 15 18:13:52 2013 +0200
Fix ContactFilterModel account filter
We were comparing pointers instead of actuall account IDs.
Thanks to Viktor Joba for pointing out the bug.
---
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 49166aa..ff12e6c 100644
--- a/KTp/Models/contacts-filter-model.cpp
+++ b/KTp/Models/contacts-filter-model.cpp
@@ -326,7 +326,7 @@ bool ContactsFilterModel::Private::filterAcceptsContact(const QModelIndex &index
//check account
if (accountFilter) {
- if(index.data(KTp::AccountRole).value<Tp::AccountPtr>() != accountFilter) {
+ if(index.data(KTp::AccountRole).value<Tp::AccountPtr>()->uniqueIdentifier() != accountFilter->uniqueIdentifier()) {
return false;
}
}
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list