diff --git a/Preferences/Preferences/HotKeyPane.h b/Preferences/Preferences/HotKeyPane.h index 777889872..61656758c 100644 --- a/Preferences/Preferences/HotKeyPane.h +++ b/Preferences/Preferences/HotKeyPane.h @@ -20,6 +20,4 @@ @property(strong) IBOutlet MASShortcutView *seekBkwdShortcutView; @property(strong) IBOutlet MASShortcutView *seekFwdShortcutView; -- (IBAction)resetToDefaultShortcuts:(id)sender; - @end diff --git a/Preferences/Preferences/HotKeyPane.m b/Preferences/Preferences/HotKeyPane.m index f747d55e8..ed7eb39b2 100644 --- a/Preferences/Preferences/HotKeyPane.m +++ b/Preferences/Preferences/HotKeyPane.m @@ -9,14 +9,10 @@ #import "HotKeyPane.h" #import "Shortcuts.h" -@implementation HotKeyPane { - NSUserDefaultsController *defaultsController; -} +@implementation HotKeyPane // Defaults have been moved to AppController.m - (void)awakeFromNib { - defaultsController = [NSUserDefaultsController sharedUserDefaultsController]; - _playShortcutView.associatedUserDefaultsKey = CogPlayShortcutKey; _nextShortcutView.associatedUserDefaultsKey = CogNextShortcutKey; _prevShortcutView.associatedUserDefaultsKey = CogPrevShortcutKey; @@ -36,8 +32,4 @@ return [[NSImage alloc] initWithContentsOfFile:[[NSBundle bundleForClass:[self class]] pathForImageResource:@"hot_keys"]]; } -- (IBAction)resetToDefaultShortcuts:(id)sender { - [defaultsController revertToInitialValues:sender]; -} - @end