Browse Source

Don't need AppDelegate to be a NSMenuDelegate

Grant Limberg 8 years ago
parent
commit
a813e29491
2 changed files with 1 additions and 9 deletions
  1. 1 1
      ZeroTier One/AppDelegate.h
  2. 0 8
      ZeroTier One/AppDelegate.m

+ 1 - 1
ZeroTier One/AppDelegate.h

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

+ 0 - 8
ZeroTier One/AppDelegate.m

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