Changeset 489 for trunk/macosx/Controller.m
- Timestamp:
- Jun 30, 2006, 2:57:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r488 r489 339 339 { 340 340 [torrent setDownloadFolder: [[openPanel filenames] objectAtIndex: 0]]; 341 [torrent update]; 341 342 [self attemptToStartAuto: torrent]; 342 343 [fTorrents addObject: torrent]; 343 [torrent update];344 344 345 345 [self torrentNumberChanged]; … … 388 388 389 389 [torrent setDownloadFolder: folder]; 390 [torrent update]; 390 391 [self attemptToStartAuto: torrent]; 391 392 [fTorrents addObject: torrent]; 392 [torrent update];393 393 } 394 394 … … 1105 1105 - (void) attemptToStartAuto: (Torrent *) torrent 1106 1106 { 1107 #warning expand upon 1108 if ([torrent progress] >= 1.0) 1109 { 1110 [torrent startTransfer]; 1111 return; 1112 } 1113 1107 1114 if (![torrent waitingToStart]) 1108 1115 return; 1109 1116 1110 1117 NSString * startSetting = [fDefaults stringForKey: @"StartSetting"]; … … 1437 1444 || action == @selector(removeDeleteTorrent:) || action == @selector(removeDeleteBoth:)) 1438 1445 { 1439 BOOL warning = NO, onlyDownloading = [fDefaults boolForKey: @"CheckRemoveDownloading"], 1446 BOOL warning = NO, 1447 onlyDownloading = [fDefaults boolForKey: @"CheckRemoveDownloading"], 1440 1448 canDelete = action != @selector(removeDeleteTorrent:) && action != @selector(removeDeleteBoth:); 1441 1449 Torrent * torrent;
Note: See TracChangeset
for help on using the changeset viewer.