diff --git a/macosx/Controller.m b/macosx/Controller.m index 20960601a..5d75ef51c 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -655,7 +655,10 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy - (void) resumeTorrentsNoWait: (NSArray *) torrents { - [torrents makeObjectsPerformSelector: @selector(startTransfer)]; + NSEnumerator * enumerator = [torrents objectEnumerator]; + Torrent * torrent; + while ((torrent = [enumerator nextObject])) + [torrent startTransfer]; [self updateUI: nil]; [self applyFilter: nil];