Ignore:
Timestamp:
May 12, 2009, 12:58:22 AM (13 years ago)
Author:
livings124
Message:

#2045 hold down option key on launch to start with all torrents paused

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r8260 r8386  
    117117}
    118118
    119 - (id) initWithHistory: (NSDictionary *) history lib: (tr_session *) lib
     119- (id) initWithHistory: (NSDictionary *) history lib: (tr_session *) lib forcePause: (BOOL) pause
    120120{
    121121    self = [self initWithHash: [history objectForKey: @"TorrentHash"]
     
    133133        //start transfer
    134134        NSNumber * active;
    135         if ((active = [history objectForKey: @"Active"]) && [active boolValue])
     135        if (!pause && (active = [history objectForKey: @"Active"]) && [active boolValue])
    136136        {
    137137            fStat = tr_torrentStat(fHandle);
Note: See TracChangeset for help on using the changeset viewer.