store progress gradients in the gradient class; miscellaneous cleanup

This commit is contained in:
Mitchell Livingston
2008-06-25 05:01:04 +00:00
parent b1cc67ce2b
commit 88e907383f
9 changed files with 60 additions and 97 deletions

View File

@@ -1102,9 +1102,8 @@ typedef enum
- (BOOL) canQuickLook
{
FileOutlineView * fileOutlineView = [fFileController outlineView];
Torrent * torrent = [fTorrents objectAtIndex: 0];
NSIndexSet * indexes = [fileOutlineView selectedRowIndexes];
int i;
for (i = [indexes firstIndex]; i != NSNotFound; i = [indexes indexGreaterThanIndex: i])
if ([self canQuickLookFile: [fileOutlineView itemAtRow: i]])