diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 42bf723a3..58ae27a30 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -82,7 +82,6 @@ //window location and size NSPanel * window = (NSPanel *)[self window]; - #warning get working again [window setFrameAutosaveName: @"InspectorWindowFrame"]; [window setFrameUsingName: @"InspectorWindowFrame"]; diff --git a/macosx/TorrentTableView.m b/macosx/TorrentTableView.m index 1ff82d016..90eaaa3aa 100644 --- a/macosx/TorrentTableView.m +++ b/macosx/TorrentTableView.m @@ -378,7 +378,6 @@ item = [menu itemWithTag: ACTION_MENU_GLOBAL_TAG]; [item setState: mode == NSMixedState ? NSOnState : NSOffState]; } - #warning better way? else if ([menu supermenu]) //assume the menu is part of the file list { NSMenu * supermenu = [menu supermenu]; @@ -440,13 +439,7 @@ - (void) checkFile: (id) sender { - #warning get working - NSIndexSet * indexSet; - if ([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask) - indexSet = [NSIndexSet indexSetWithIndexesInRange: NSMakeRange(0, [fMenuTorrent fileCount])]; - else - indexSet = [[sender representedObject] objectForKey: @"Indexes"]; - + NSIndexSet * indexSet = [[sender representedObject] objectForKey: @"Indexes"]; [fMenuTorrent setFileCheckState: [sender state] != NSOnState ? NSOnState : NSOffState forIndexes: indexSet]; [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];