diff options
author | ritsuka <[email protected]> | 2015-04-07 16:14:30 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-04-07 16:14:30 +0000 |
commit | 13d0d1d579a7e56ac2e2978994e3f0e74d324bba (patch) | |
tree | 557b0bc93f0d4c42028ae5c3a6cd80989b52fbfa /macosx/HBQueueController.m | |
parent | 3f537cb97206f609c62867b32f262dd716b8df31 (diff) |
MacGui: changed the Preview Window and Picture Panel behaviour to avoid the hide and show thing when loading a new title, now they can always be opened even if no title is loaded.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7065 b64f7644-9d1e-0410-96f1-a4d463321fa5
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 |