Cleanup: Remove unused code
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
25d6f6ea7c
commit
9cc0b8be8d
2 changed files with 1 additions and 11 deletions
|
@ -20,6 +20,4 @@
|
|||
@property(strong) IBOutlet MASShortcutView *seekBkwdShortcutView;
|
||||
@property(strong) IBOutlet MASShortcutView *seekFwdShortcutView;
|
||||
|
||||
- (IBAction)resetToDefaultShortcuts:(id)sender;
|
||||
|
||||
@end
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue