[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:05:24 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=4f1d411

The following commit has been merged in the master branch:
commit 4f1d4117acdb2c50fd41ef07293b18600c7f7321
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Thu Mar 10 12:12:28 2011 +0100

    Fix crash when going offline.
---
 accounts-model.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/accounts-model.cpp b/accounts-model.cpp
index e38c8c6..a48e34f 100644
--- a/accounts-model.cpp
+++ b/accounts-model.cpp
@@ -158,8 +158,12 @@ void AccountsModel::onItemsRemoved(TreeNode *parent, int first, int last)
     for (int i = last; i >= first; i--) {
         parent->childAt(i)->remove();
     }
+    endRemoveRows();
+    
+    beginRemoveRows(index(parent->parent()), parentIndex.row(), parentIndex.row());
     parent->remove();
     endRemoveRows();
+    
     emit accountCountChanged();
 }
 

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list