mirror of
https://github.com/transmission/transmission
synced 2025-03-12 15:14:12 +00:00
another 10.6 check
This commit is contained in:
parent
fa1fa11fdb
commit
9bb93bd92c
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@
|
|||
const unichar firstChar = [[event charactersIgnoringModifiers] characterAtIndex: 0];
|
||||
|
||||
//don't allow quick look on add window
|
||||
if (firstChar == ' ' && [[[self window] windowController] conformsToProtocol: @protocol(QLPreviewPanelDataSource)])
|
||||
if ([NSApp isOnSnowLeopardOrBetter] && firstChar == ' ' && [[[self window] windowController] conformsToProtocol: @protocol(QLPreviewPanelDataSource)])
|
||||
{
|
||||
if ([[QLPreviewPanel sharedPreviewPanel] isVisible])
|
||||
[[QLPreviewPanel sharedPreviewPanel] orderOut: nil];
|
||||
|
|
Loading…
Add table
Reference in a new issue