Changeset 12710
- Timestamp:
- Aug 21, 2011, 4:00:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r12664 r12710 920 920 [torrent release]; 921 921 922 #warning set to bottom of queue 923 922 924 [self fullUpdateUI]; 923 925 } … … 988 990 [fTorrents addObject: torrent]; 989 991 [torrent release]; 992 993 #warning set to bottom of queue 990 994 991 995 [self fullUpdateUI]; … … 1666 1670 - (void) updateUI 1667 1671 { 1668 [fTorrents makeObjectsPerformSelector: @selector(update)];1669 1670 //pull the upload and download speeds - most consistent by using current stats1671 1672 CGFloat dlRate = 0.0, ulRate = 0.0; 1672 1673 BOOL completed = NO; 1673 1674 for (Torrent * torrent in fTorrents) 1674 1675 { 1676 [torrent update]; 1677 1678 //pull the upload and download speeds - most consistent by using current stats 1675 1679 dlRate += [torrent downloadRate]; 1676 1680 ulRate += [torrent uploadRate];
Note: See TracChangeset
for help on using the changeset viewer.