[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=7de1e05

The following commit has been merged in the master branch:
commit 7de1e05aa6bf9a7ec7636ac50b8680b0b4345f3c
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Thu Jul 12 16:49:17 2012 +0100

    Move endInsertRows to be balanced with beginInsertRows
    
    REVIWED-BY: Dan Vratil
---
 logviewer/entity-model.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/logviewer/entity-model.cpp b/logviewer/entity-model.cpp
index 2592ef0..23fac74 100644
--- a/logviewer/entity-model.cpp
+++ b/logviewer/entity-model.cpp
@@ -145,6 +145,7 @@ void EntityModel::onEntitiesSearchFinished(Tpl::PendingOperation *operation)
                 endInsertRows();
             }
 
+
             QModelIndex parentIndex = index(parent->row(), 0, QModelIndex());
             beginInsertRows(parentIndex, m_rootItem->item(parentIndex.row())->row(), m_rootItem->item(parentIndex.row())->row());
             EntityModelItem *item = new EntityModelItem(parent);
@@ -159,9 +160,9 @@ void EntityModel::onEntitiesSearchFinished(Tpl::PendingOperation *operation)
                 connect(op, SIGNAL(finished(Tp::PendingOperation*)),
                         this, SLOT(onEntityContactRetrieved(Tp::PendingOperation*)));
             }
+            endInsertRows();
         }
 
-        endInsertRows();
     }
 }
 

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list