mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
Correct use of beginRemoveRows()
.. last update didn't fix the indexes.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user