Ignore:
Timestamp:
May 11, 2007, 6:56:59 PM (15 years ago)
Author:
livings124
Message:

separate code for determining if there is a download with same name and location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r1867 r1868  
    876876        [descriptors addObject: descriptor];
    877877       
    878         useSecond = ![[descriptor key] isEqualToString: @"IP"];
    879         asc = [descriptor ascending];
     878        if ((useSecond = ![[descriptor key] isEqualToString: @"IP"]))
     879        {
     880            #warning different for different sorts
     881            NSLog(@"%@", [[fPeerTable highlightedTableColumn] identifier]);
     882           
     883            asc = [descriptor ascending];
     884        }
    880885    }
    881886   
     
    883888    if (useSecond)
    884889    {
    885         #warning different for different sorts
    886890        NSSortDescriptor * secondDescriptor = [[NSSortDescriptor alloc] initWithKey: @"IP" ascending: asc
    887891                                                                        selector: @selector(compareIP:)];
Note: See TracChangeset for help on using the changeset viewer.