Don't need AppDelegate to be a NSMenuDelegate

This commit is contained in:
Grant Limberg 2016-10-17 12:26:48 -07:00
parent 94263ffcc1
commit a813e29491
2 changed files with 1 additions and 9 deletions

View File

@ -12,7 +12,7 @@
@class Network; @class Network;
@class NodeStatus; @class NodeStatus;
@interface AppDelegate : NSObject <NSApplicationDelegate, NSMenuDelegate> @interface AppDelegate : NSObject <NSApplicationDelegate>
@property (weak, nonatomic) IBOutlet NSWindow *window; @property (weak, nonatomic) IBOutlet NSWindow *window;

View File

@ -304,14 +304,6 @@
} }
} }
- (void)menuWillOpen:(NSMenu*)menu {
}
- (void)menuDidClose:(NSMenu*)menu {
}
- (void)darkModeChanged:(NSNotification*)note { - (void)darkModeChanged:(NSNotification*)note {
NSString *osxMode = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"]; NSString *osxMode = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"];