Ignore:
Timestamp:
Aug 14, 2010, 7:44:43 PM (12 years ago)
Author:
livings124
Message:

don't set an idle eta if the transfer is currently uploading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r11104 r11178  
    535535                    name: @"TorrentRestartedDownloading" object: nil];
    536536   
     537    [nc addObserver: self selector: @selector(torrentFinishedSeeding:)
     538                    name: @"TorrentFinishedSeeding" object: nil];
     539   
    537540    //avoids need of setting delegate
    538541    [nc addObserver: self selector: @selector(torrentTableViewSelectionDidChange:)
     
    550553    [nc addObserver: fWindow selector: @selector(makeKeyWindow)
    551554                    name: @"MakeWindowKey" object: nil];
    552    
    553     //check if torrent should now start
    554     [nc addObserver: self selector: @selector(torrentStoppedForRatio:)
    555                     name: @"TorrentStoppedForRatio" object: nil];
    556555   
    557556    [nc addObserver: self selector: @selector(updateTorrentsInQueue)
     
    19571956}
    19581957
    1959 - (void) torrentStoppedForRatio: (NSNotification *) notification
     1958- (void) torrentFinishedSeeding: (NSNotification *) notification
    19601959{
    19611960    Torrent * torrent = [notification object];
Note: See TracChangeset for help on using the changeset viewer.