diff options
Diffstat (limited to 'AppKit/GTMHotKeyTextField.m')
-rw-r--r-- | AppKit/GTMHotKeyTextField.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AppKit/GTMHotKeyTextField.m b/AppKit/GTMHotKeyTextField.m index c73d217..5ef59b4 100644 --- a/AppKit/GTMHotKeyTextField.m +++ b/AppKit/GTMHotKeyTextField.m @@ -51,9 +51,9 @@ static CFStringRef kGTM_TISPropertyUnicodeKeyLayoutData = NULL; + (id)hotKeyWithKeyCode:(NSUInteger)keyCode modifiers:(NSUInteger)modifiers useDoubledModifier:(BOOL)doubledModifier { - return [[[[self class] alloc] initWithKeyCode:keyCode - modifiers:modifiers - useDoubledModifier:doubledModifier] autorelease]; + return [[[self alloc] initWithKeyCode:keyCode + modifiers:modifiers + useDoubledModifier:doubledModifier] autorelease]; } - (id)initWithKeyCode:(NSUInteger)keyCode |