mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
#5005 Torrent file deleted twice when added via url
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
NSString * fDestination, * fTorrentFile;
|
||||
BOOL fLockDestination;
|
||||
|
||||
BOOL fDeleteTorrentInitial, fDeleteEnableInitial;
|
||||
BOOL fDeleteTorrentEnableInitially, fCanToggleDelete;
|
||||
NSInteger fGroupValue;
|
||||
|
||||
NSTimer * fTimer;
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
- (id) initWithTorrent: (Torrent *) torrent destination: (NSString *) path lockDestination: (BOOL) lockDestination
|
||||
controller: (Controller *) controller torrentFile: (NSString *) torrentFile
|
||||
deleteTorrent: (BOOL) deleteTorrent canToggleDelete: (BOOL) canToggleDelete;
|
||||
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)
|
||||
|
||||
- (Torrent *) torrent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user