Ignore:
Timestamp:
Aug 5, 2012, 3:48:13 AM (9 years ago)
Author:
livings124
Message:

#5005 Torrent file deleted twice when added via url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/AddWindowController.h

    r13334 r13416  
    4949    BOOL fLockDestination;
    5050   
    51     BOOL fDeleteTorrentInitial, fDeleteEnableInitial;
     51    BOOL fDeleteTorrentEnableInitially, fCanToggleDelete;
    5252    NSInteger fGroupValue;
    5353   
     
    5757- (id) initWithTorrent: (Torrent *) torrent destination: (NSString *) path lockDestination: (BOOL) lockDestination
    5858    controller: (Controller *) controller torrentFile: (NSString *) torrentFile
    59     deleteTorrent: (BOOL) deleteTorrent canToggleDelete: (BOOL) canToggleDelete;
     59    deleteTorrentCheckEnableInitially: (BOOL) deleteTorrent canToggleDelete: (BOOL) canToggleDelete; //if canToggleDelete is NO, we will also not delete the file regardless of the delete check's state (this is so it can be disabled and checked for a downloaded torrent, where the file's already deleted)
    6060
    6161- (Torrent *) torrent;
Note: See TracChangeset for help on using the changeset viewer.