Changeset 3701


Ignore:
Timestamp:
Nov 4, 2007, 4:19:22 PM (14 years ago)
Author:
livings124
Message:

remove unneeded group row code

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileOutlineView.m

    r3700 r3701  
    2626#import "FileNameCell.h"
    2727#import "FilePriorityCell.h"
    28 #import "NSApplicationAdditions.h"
    2928#import "Torrent.h"
    3029
     
    116115}
    117116
    118 #warning remove unneeded code
    119117- (void) drawRow: (int) row clipRect: (NSRect) clipRect
    120118{
    121     NSDictionary * item = [self itemAtRow: row];
    122     if (![self isRowSelected: row] && (![NSApp isOnLeopardOrBetter] || ![[item objectForKey: @"IsFolder"] boolValue]))
     119    if (![self isRowSelected: row])
    123120    {
     121        NSDictionary * item = [self itemAtRow: row];
    124122        NSIndexSet * indexes = [item objectForKey: @"Indexes"];
    125123       
  • trunk/macosx/InfoWindowController.m

    r3700 r3701  
    956956}
    957957
    958 #warning should keep?
    959 - (BOOL) outlineView: (NSOutlineView *) outlineView isGroupItem: (id) item
    960 {
    961     return /*[[item objectForKey: @"IsFolder"] boolValue]*/NO;
    962 }
    963 
    964958- (float) outlineView: (NSOutlineView *) outlineView heightOfRowByItem: (id) item
    965959{
Note: See TracChangeset for help on using the changeset viewer.