[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:27 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=8ef042e
The following commit has been merged in the master branch:
commit 8ef042e2ba3c1829a8db0cf44a7ffab8f6f6a948
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Thu Mar 10 22:15:28 2011 +0100
Remove unnecessary bits
---
accounts-model.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/accounts-model.cpp b/accounts-model.cpp
index 09b7d25..bb27976 100644
--- a/accounts-model.cpp
+++ b/accounts-model.cpp
@@ -26,7 +26,6 @@
#include "accounts-model.h"
#include "accounts-model-item.h"
#include "contact-model-item.h"
-#include <KDebug>
struct AccountsModel::Private
{
@@ -154,13 +153,6 @@ void AccountsModel::onItemsAdded(TreeNode *parent, const QList<TreeNode *> &node
void AccountsModel::onItemsRemoved(TreeNode *parent, int first, int last)
{
QModelIndex parentIndex = index(parent);
-// QList<TreeNode *> removedItems;
-// beginRemoveRows(parentIndex, first, last);
-// for (int i = last; i >= first; i--) {
-// parent->childAt(i)->remove();
-// }
-// endRemoveRows();
-
beginRemoveRows(index(parent->parent()), parentIndex.row(), parentIndex.row());
parent->remove();
endRemoveRows();
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list