mirror of
https://github.com/transmission/transmission
synced 2025-03-19 02:05:32 +00:00
remove a warning
This commit is contained in:
parent
692d35c018
commit
fd934eeaff
2 changed files with 1 additions and 3 deletions
|
@ -1783,8 +1783,6 @@ typedef enum
|
|||
return;
|
||||
}
|
||||
|
||||
Torrent * torrent = [fTorrents objectAtIndex: 0];
|
||||
|
||||
if ([[NSUserDefaults standardUserDefaults] boolForKey: @"WarningRemoveTrackers"])
|
||||
{
|
||||
NSAlert * alert = [[NSAlert alloc] init];
|
||||
|
@ -1819,6 +1817,7 @@ typedef enum
|
|||
|
||||
[fTrackers removeObjectsAtIndexes: indexes];
|
||||
|
||||
Torrent * torrent = [fTorrents objectAtIndex: 0];
|
||||
[torrent updateAllTrackersForRemove: fTrackers];
|
||||
[fTrackerTable deselectAll: self];
|
||||
|
||||
|
|
|
@ -779,7 +779,6 @@ int trashDataFile(const char * filename)
|
|||
return YES;
|
||||
}
|
||||
|
||||
#warning needed?
|
||||
- (void) updateAllTrackersForRemove: (NSMutableArray *) trackers
|
||||
{
|
||||
[self updateAllTrackers: trackers];
|
||||
|
|
Loading…
Add table
Reference in a new issue