Changeset 11178 for trunk/macosx/Controller.m
- Timestamp:
- Aug 14, 2010, 7:44:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r11104 r11178 535 535 name: @"TorrentRestartedDownloading" object: nil]; 536 536 537 [nc addObserver: self selector: @selector(torrentFinishedSeeding:) 538 name: @"TorrentFinishedSeeding" object: nil]; 539 537 540 //avoids need of setting delegate 538 541 [nc addObserver: self selector: @selector(torrentTableViewSelectionDidChange:) … … 550 553 [nc addObserver: fWindow selector: @selector(makeKeyWindow) 551 554 name: @"MakeWindowKey" object: nil]; 552 553 //check if torrent should now start554 [nc addObserver: self selector: @selector(torrentStoppedForRatio:)555 name: @"TorrentStoppedForRatio" object: nil];556 555 557 556 [nc addObserver: self selector: @selector(updateTorrentsInQueue) … … 1957 1956 } 1958 1957 1959 - (void) torrent StoppedForRatio: (NSNotification *) notification1958 - (void) torrentFinishedSeeding: (NSNotification *) notification 1960 1959 { 1961 1960 Torrent * torrent = [notification object];
Note: See TracChangeset
for help on using the changeset viewer.