mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
add some 10.6 checks for quick look
This commit is contained in:
@@ -132,7 +132,7 @@ typedef enum
|
||||
|
||||
- (void) outlineViewSelectionDidChange: (NSNotification *) notification
|
||||
{
|
||||
if ([QLPreviewPanel sharedPreviewPanelExists] && [[QLPreviewPanel sharedPreviewPanel] isVisible])
|
||||
if ([NSApp isOnSnowLeopardOrBetter] && [QLPreviewPanel sharedPreviewPanelExists] && [[QLPreviewPanel sharedPreviewPanel] isVisible])
|
||||
{
|
||||
[[QLPreviewPanel sharedPreviewPanel] reloadData];
|
||||
[[QLPreviewPanel sharedPreviewPanel] updateController];
|
||||
|
||||
Reference in New Issue
Block a user