remove some warnings

This commit is contained in:
Mitchell Livingston 2007-08-18 16:55:01 +00:00
parent b9c2ea46ce
commit 141404356a
2 changed files with 1 additions and 9 deletions

View File

@ -82,7 +82,6 @@
//window location and size
NSPanel * window = (NSPanel *)[self window];
#warning get working again
[window setFrameAutosaveName: @"InspectorWindowFrame"];
[window setFrameUsingName: @"InspectorWindowFrame"];

View File

@ -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];