From 40e3d8eb2ded68e26b3179f08ea0acf250d93675 Mon Sep 17 00:00:00 2001 From: Tomasz Krasnyk Date: Sun, 28 Nov 2010 00:38:32 +0100 Subject: [PATCH] commented unused code --- PBSourceViewCell.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/PBSourceViewCell.m b/PBSourceViewCell.m index 545df77..fa7a88a 100644 --- a/PBSourceViewCell.m +++ b/PBSourceViewCell.m @@ -154,7 +154,6 @@ // Another way of implementing the above code would be to keep an NSButtonCell as an ivar, and simply call trackMouse:inRect:ofView:untilMouseUp: on it, if the tracking area was inside of it. - NSLog(@"mouse tracking; %@", theEvent); NSPoint locationOfTouch = [controlView convertPoint:[theEvent locationInWindow] fromView:nil]; BOOL mouseInButton = NSMouseInRect(locationOfTouch, [self infoButtonRectForBounds:cellFrame], [controlView isFlipped]); @@ -170,10 +169,6 @@ // Send the action, and redisplay iMouseDownInInfoButton = NO; [controlView setNeedsDisplayInRect:cellFrame]; - // NSLog(@"fired"); - // if (iInfoButtonAction) { - // [NSApp sendAction:iInfoButtonAction to:[self target] from:[self controlView]]; - // } } return [super trackMouse:theEvent inRect:cellFrame ofView:controlView untilMouseUp:flag];