diff --git a/macosx/Controller.m b/macosx/Controller.m index 63162ed5c..f4fb19aec 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -919,6 +919,8 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy [fTorrents addObject: torrent]; [torrent release]; + #warning set to bottom of queue + [self fullUpdateUI]; } else @@ -988,6 +990,8 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy [fTorrents addObject: torrent]; [torrent release]; + #warning set to bottom of queue + [self fullUpdateUI]; } else @@ -1665,13 +1669,13 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy - (void) updateUI { - [fTorrents makeObjectsPerformSelector: @selector(update)]; - - //pull the upload and download speeds - most consistent by using current stats CGFloat dlRate = 0.0, ulRate = 0.0; BOOL completed = NO; for (Torrent * torrent in fTorrents) { + [torrent update]; + + //pull the upload and download speeds - most consistent by using current stats dlRate += [torrent downloadRate]; ulRate += [torrent uploadRate];