[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:22:05 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=0838d51
The following commit has been merged in the master branch:
commit 0838d5168fdbbc65f402aa5f7d10da16dfbfa6f5
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Thu Jul 12 16:48:30 2012 +0100
Call insert rows to correctly only insert one row.
---
logviewer/entity-model.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/logviewer/entity-model.cpp b/logviewer/entity-model.cpp
index 26b9c9c..2592ef0 100644
--- a/logviewer/entity-model.cpp
+++ b/logviewer/entity-model.cpp
@@ -146,7 +146,7 @@ void EntityModel::onEntitiesSearchFinished(Tpl::PendingOperation *operation)
}
QModelIndex parentIndex = index(parent->row(), 0, QModelIndex());
- beginInsertRows(parentIndex, m_rootItem->item(parentIndex.row())->row(), m_rootItem->item(parentIndex.row())->row() + 1);
+ beginInsertRows(parentIndex, m_rootItem->item(parentIndex.row())->row(), m_rootItem->item(parentIndex.row())->row());
EntityModelItem *item = new EntityModelItem(parent);
item->setData(QVariant::fromValue(pendingEntities->account()), EntityModel::AccountRole);
item->setData(QVariant::fromValue(entity), EntityModel::EntityRole);
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list