[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:04:29 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=de66984
The following commit has been merged in the master branch:
commit de66984fe67638e3d258d3fc6bf651a02f752f9c
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Thu Mar 10 22:15:28 2011 +0100
Remove unnecessary bits
---
models/accounts-model.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/models/accounts-model.cpp b/models/accounts-model.cpp
index 09b7d25..bb27976 100644
--- a/models/accounts-model.cpp
+++ b/models/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-common-internals packaging
More information about the pkg-kde-commits
mailing list