[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:15 UTC 2016


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

The following commit has been merged in the master branch:
commit 788f520c06f99c2fbc06c5f532527d9672aa9c39
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Sat Jan 19 19:54:24 2013 +0100

    Don't filter accounts by EnabledRole and ConnectionStatusRole
    
    Reviewed-By: David Edmundson
---
 KTp/Models/contacts-filter-model.cpp | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/KTp/Models/contacts-filter-model.cpp b/KTp/Models/contacts-filter-model.cpp
index 39cd7e8..145dcef 100644
--- a/KTp/Models/contacts-filter-model.cpp
+++ b/KTp/Models/contacts-filter-model.cpp
@@ -82,17 +82,6 @@ using namespace KTp;
 
 bool ContactsFilterModel::Private::filterAcceptsAccount(const QModelIndex &index) const
 {
-    // Hide disabled accounts
-    if (!index.data(ContactsModel::EnabledRole).toBool()) {
-        return false;
-    }
-
-    // Hide disconnected accounts
-    if (index.data(ContactsModel::ConnectionStatusRole).toUInt()
-        != Tp::ConnectionStatusConnected) {
-        return false;
-    }
-
     // Check capability
     if (capabilityFilterFlags != DoNotFilterByCapability) {
         if ((capabilityFilterFlags & FilterByTextChatCapability)

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list