remove another subscript usage
This commit is contained in:
parent
65b51cb4c7
commit
802d9d5892
|
@ -543,7 +543,7 @@ typedef enum
|
|||
|
||||
- (void) resetInfoForTorrent: (NSNotification *) notification
|
||||
{
|
||||
Torrent * torrent = [notification userInfo][@"Torrent"];
|
||||
Torrent * torrent = [[notification userInfo] objectForKey: @"Torrent"];
|
||||
if (fTorrents && (!torrent || [fTorrents containsObject: torrent]))
|
||||
[self resetInfo];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue