Changeset 10486
- Timestamp:
- Apr 15, 2010, 7:15:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt/torrent-model.cc
r9868 r10486 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.