Ticket #37974: patch-MPQueueTableView.m.diff
File patch-MPQueueTableView.m.diff, 623 bytes (added by IanWadham, 12 years ago) |
---|
-
MPQueueTableView.m
old new 15 15 -(void)keyDown:(NSEvent *)theEvent { 16 16 if ([[theEvent characters] characterAtIndex:0] == NSDeleteCharacter || [[theEvent characters] characterAtIndex:0] == NSBackspaceCharacter) 17 17 { 18 NSLog(@"Deleting our shit");19 NSLog(@"Selection: % i",[queue selectionIndex]);18 NSLog(@"Deleting a queue entry"); 19 NSLog(@"Selection: %li", (unsigned long)[queue selectionIndex]); 20 20 if([queue selectionIndex]>=0) [queue removeObjectAtArrangedObjectIndex:[queue selectionIndex]]; 21 21 } 22 22 else