Changeset 2840


Ignore:
Timestamp:
Aug 18, 2007, 4:55:01 PM (15 years ago)
Author:
livings124
Message:

remove some warnings

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r2824 r2840  
    8383    NSPanel * window = (NSPanel *)[self window];
    8484   
    85     #warning get working again
    8685    [window setFrameAutosaveName: @"InspectorWindowFrame"];
    8786    [window setFrameUsingName: @"InspectorWindowFrame"];
  • trunk/macosx/TorrentTableView.m

    r2833 r2840  
    379379        [item setState: mode == NSMixedState ? NSOnState : NSOffState];
    380380    }
    381     #warning better way?
    382381    else if ([menu supermenu]) //assume the menu is part of the file list
    383382    {
     
    441440- (void) checkFile: (id) sender
    442441{
    443     #warning get working
    444     NSIndexSet * indexSet;
    445     if ([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask)
    446         indexSet = [NSIndexSet indexSetWithIndexesInRange: NSMakeRange(0, [fMenuTorrent fileCount])];
    447     else
    448         indexSet = [[sender representedObject] objectForKey: @"Indexes"];
    449    
     442    NSIndexSet * indexSet = [[sender representedObject] objectForKey: @"Indexes"];
    450443    [fMenuTorrent setFileCheckState: [sender state] != NSOnState ? NSOnState : NSOffState forIndexes: indexSet];
    451444   
Note: See TracChangeset for help on using the changeset viewer.