Changeset 10579 for branches/1.9x/qt/torrent-model.cc
- Timestamp:
- May 1, 2010, 4:23:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.9x/qt/torrent-model.cc
r9868 r10579 207 207 208 208 beginRemoveRows( QModelIndex(), row, row ); 209 // make the myIdToRow map consistent with list view/model 210 for( QMap<int,int>::iterator i = myIdToRow.begin(); i != myIdToRow.end(); ++i ) 211 if( i.value() > row ) 212 --i.value(); 209 213 myIdToRow.remove( id ); 210 214 myIdToTorrent.remove( id );
Note: See TracChangeset
for help on using the changeset viewer.