mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
remove a warning
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user