Ignore:
Timestamp:
Sep 4, 2009, 11:58:27 PM (13 years ago)
Author:
livings124
Message:

remove unneeded calls to sharedPreviewPanel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9034 r9039  
    32523252        [item setTarget: self];
    32533253        [item setAction: @selector(toggleQuickLook:)];
     3254        [item setAutovalidates: NO];
    32543255       
    32553256        return item;
     
    39653966- (void) toggleQuickLook: (id) sender
    39663967{
    3967     if ([QLPreviewPanel sharedPreviewPanelExists] && [[QLPreviewPanel sharedPreviewPanel] isVisible])
     3968    if ([[QLPreviewPanel sharedPreviewPanel] isVisible])
    39683969        [[QLPreviewPanel sharedPreviewPanel] orderOut: nil];
    39693970    else
Note: See TracChangeset for help on using the changeset viewer.