From: APTX Date: Tue, 23 Apr 2013 00:01:00 +0000 (+0200) Subject: Correct row remove count. X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=bf86bc347c9ad760a33d8593b617b86a3edf7fe2;p=localmylist.git Correct row remove count. --- diff --git a/localmylist/mylistnode.cpp b/localmylist/mylistnode.cpp index 99f8b7e..b024a05 100644 --- a/localmylist/mylistnode.cpp +++ b/localmylist/mylistnode.cpp @@ -312,7 +312,7 @@ void MyListNode::childRemoved(MyListNode *child) Q_ASSERT(childItems.contains(child)); - model->beginRemoveRows(model->index(this), row, row + 1); + model->beginRemoveRows(model->index(this), row, row); childItems.removeAt(row); --m_totalRowCount; model->endRemoveRows();