hopefully fix a nasty memory leak and a bunch of redundant code

This commit is contained in:
Mitchell Livingston
2007-06-29 01:49:41 +00:00
parent f106cce58f
commit 3ff4e7799a
7 changed files with 24 additions and 31 deletions
+5
View File
@@ -309,6 +309,11 @@
[fFileOutline reloadData];
}
- (Torrent *) selectedTorrent
{
return fTorrents && [fTorrents count] > 0 ? [fTorrents objectAtIndex: 0] : nil;
}
- (void) updateInfoStats
{
NSString * ident = [[fTabView selectedTabViewItem] identifier];