Changeset 9763 for trunk/macosx/Controller.m
- Timestamp:
- Dec 14, 2009, 11:35:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r9744 r9763 1356 1356 [fTorrents removeObjectsInArray: torrents]; 1357 1357 1358 //if not removed from displayed torrents, updateTorrentsInQueue might cause a crash 1359 if ([fDisplayedTorrents count] > 0) 1360 { 1361 if ([[fDisplayedTorrents objectAtIndex: 0] isKindOfClass: [TorrentGroup class]]) 1362 { 1363 for (TorrentGroup * group in fDisplayedTorrents) 1364 [[group torrents] removeObjectsInArray: torrents]; 1365 } 1366 else 1367 [fDisplayedTorrents removeObjectsInArray: torrents]; 1368 } 1369 1358 1370 for (Torrent * torrent in torrents) 1359 1371 {
Note: See TracChangeset
for help on using the changeset viewer.