diff options
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r-- | macosx/HBQueueController.m | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index c52dd3b68..4d0905dc1 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -88,10 +88,6 @@ - (void)dealloc { - // clear the delegate so that windowWillClose is not attempted - if ([[self window] delegate] == self) - [[self window] setDelegate:nil]; - [[NSNotificationCenter defaultCenter] removeObserver:self]; } @@ -107,20 +103,6 @@ [self.outlineView setAutoresizesOutlineColumn: NO]; } -- (void)windowWillClose:(NSNotification *)aNotification -{ - [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"QueueWindowIsOpen"]; -} - -/** - * Displays and brings the queue window to the front - */ -- (IBAction)showWindow:(id)sender -{ - [super showWindow:sender]; - [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"QueueWindowIsOpen"]; -} - #pragma mark Toolbar - (BOOL)validateMenuItem:(NSMenuItem *)menuItem |