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


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

The following commit has been merged in the master branch:
commit 09d409b66c784ec8a7a103a94bf2e7a7ea0ac0c4
Author: Aleix Pol <aleixpol at kde.org>
Date:   Mon Dec 15 17:36:47 2014 +0100

    Port last remaining bit
    
    Reviewed by DJ Edmundson
---
 KTp/Models/contacts-model.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/KTp/Models/contacts-model.cpp b/KTp/Models/contacts-model.cpp
index 1c1628e..0a168e9 100644
--- a/KTp/Models/contacts-model.cpp
+++ b/KTp/Models/contacts-model.cpp
@@ -142,6 +142,13 @@ bool KTp::ContactsModel::trackUnreadMessages() const
 
 void KTp::ContactsModel::updateGroupProxyModels()
 {
+    //reset the filter
+    //trying to track current selections whilst updating proxy models can cause issues
+    //debug versions of Qt will assert
+    beginResetModel();
+    endResetModel();
+
+    //if there no account manager there's not a lot point doing anything
     if (!d->accountManager) {
         return;
     }

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list