mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
#4245 Disable Quick Look space key in the inspector
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
[http://trac.transmissionbt.com/query?milestone=2.32&group=component&order=severity All tickets closed by this release]
|
||||
==== Mac ====
|
||||
* Lion stability fixes
|
||||
* Improved tabbing behavior
|
||||
==== GTK+ ====
|
||||
* Remove GNOME desktop proxy support
|
||||
|
||||
|
||||
@@ -2745,7 +2745,6 @@
|
||||
GCC_UNROLL_LOOPS = YES;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
|
||||
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"third-party/curl/include",
|
||||
@@ -2873,7 +2872,6 @@
|
||||
GCC_UNROLL_LOOPS = YES;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
|
||||
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"third-party/curl/include",
|
||||
@@ -2938,7 +2936,6 @@
|
||||
GCC_UNROLL_LOOPS = YES;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
|
||||
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"third-party/curl/include",
|
||||
|
||||
@@ -60,22 +60,6 @@
|
||||
[super mouseDown: event];
|
||||
}
|
||||
|
||||
- (void) keyDown: (NSEvent *) event
|
||||
{
|
||||
const unichar firstChar = [[event charactersIgnoringModifiers] characterAtIndex: 0];
|
||||
|
||||
//don't allow quick look on add window
|
||||
if ([NSApp isOnSnowLeopardOrBetter] && firstChar == ' ' && [[[self window] windowController] isKindOfClass: [InfoWindowController class]])
|
||||
{
|
||||
if ([[QLPreviewPanelSL sharedPreviewPanel] isVisible])
|
||||
[[QLPreviewPanelSL sharedPreviewPanel] orderOut: nil];
|
||||
else
|
||||
[[QLPreviewPanelSL sharedPreviewPanel] makeKeyAndOrderFront: nil];
|
||||
}
|
||||
|
||||
[super keyDown: event];
|
||||
}
|
||||
|
||||
- (NSMenu *) menuForEvent: (NSEvent *) event
|
||||
{
|
||||
const NSInteger row = [self rowAtPoint: [self convertPoint: [event locationInWindow] fromView: nil]];
|
||||
|
||||
Reference in New Issue
Block a user