Changeset 724


Ignore:
Timestamp:
Aug 6, 2006, 7:10:47 PM (15 years ago)
Author:
livings124
Message:

Only update torrents that need to be updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r722 r724  
    534534
    535535    [panel beginSheetForDirectory: nil file: nil types: [NSArray arrayWithObject: @"torrent"]
    536         modalForWindow: fWindow modalDelegate: self didEndSelector:
    537         @selector(openSheetClosed:returnCode:contextInfo:)
     536        modalForWindow: fWindow modalDelegate: self didEndSelector: @selector(openSheetClosed:returnCode:contextInfo:)
    538537        contextInfo: [NSNumber numberWithBool: sender == fOpenIgnoreDownloadFolder]];
    539538}
     
    14051404                desiredActive--;
    14061405            }
    1407             else;
     1406            else
     1407                continue;
     1408           
     1409            [torrent update];
    14081410        }
    1409        
    1410         [torrent update];
    14111411    }
    14121412}
Note: See TracChangeset for help on using the changeset viewer.