mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
hopefully fix a nasty memory leak and a bunch of redundant code
This commit is contained in:
@@ -309,6 +309,11 @@
|
||||
[fFileOutline reloadData];
|
||||
}
|
||||
|
||||
- (Torrent *) selectedTorrent
|
||||
{
|
||||
return fTorrents && [fTorrents count] > 0 ? [fTorrents objectAtIndex: 0] : nil;
|
||||
}
|
||||
|
||||
- (void) updateInfoStats
|
||||
{
|
||||
NSString * ident = [[fTabView selectedTabViewItem] identifier];
|
||||
|
||||
Reference in New Issue
Block a user