Ignore:
Timestamp:
Sep 7, 2009, 2:54:22 PM (13 years ago)
Author:
livings124
Message:

add some 10.6 checks for quick look

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9039 r9054  
    14751475    [fInfoController setInfoForTorrents: [fTableView selectedTorrents]];
    14761476   
    1477     if ([QLPreviewPanel sharedPreviewPanelExists] && [[QLPreviewPanel sharedPreviewPanel] isVisible])
     1477    if ([NSApp isOnSnowLeopardOrBetter] && [QLPreviewPanel sharedPreviewPanelExists] && [[QLPreviewPanel sharedPreviewPanel] isVisible])
    14781478        [[QLPreviewPanel sharedPreviewPanel] reloadData];
    14791479}
     
    39663966- (void) toggleQuickLook: (id) sender
    39673967{
     3968    if (![NSApp isOnSnowLeopardOrBetter])
     3969        return;
     3970   
    39683971    if ([[QLPreviewPanel sharedPreviewPanel] isVisible])
    39693972        [[QLPreviewPanel sharedPreviewPanel] orderOut: nil];
Note: See TracChangeset for help on using the changeset viewer.