Correct use of beginRemoveRows()

.. last update didn't fix the indexes.
This commit is contained in:
Mark Liversedge
2015-01-11 22:13:30 +00:00
parent 785cb5f651
commit ce50cabca9

View File

@@ -124,8 +124,7 @@ RideCacheModel::itemAdded(RideItem*)
void
RideCacheModel::startRemove(int index)
{
//beginRemoveRows(createIndex(0,0), index, columns_-1);
beginRemoveRows(QModelIndex(), index, columns_-1);
beginRemoveRows(QModelIndex(), index, index);
}
void