diff options
author | dynaflash <[email protected]> | 2010-03-09 14:58:02 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2010-03-09 14:58:02 +0000 |
commit | c2ea92687f2ef8522f3f44cfa31248eea21a29f5 (patch) | |
tree | 1edee5970f54fe196111b989b68972bc1c962382 | |
parent | f4c01687fcb4b1cf8ad88ed2a4d0f974a6451a4d (diff) |
MacGui: Fix pending encodes left in queue at quit warning that was borked in 3154.
- applicationShouldTerminate was trying to call a method that was removed in that revision which then aborted the rest of the shutdown logic.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3155 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | macosx/Controller.m | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index cd5461250..ce3e70a4d 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -262,15 +262,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It - (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *) app { - /* if we are in preview full screen mode, we need to go to - * windowed mode and release the display before we terminate. - * We do it here (instead of applicationWillTerminate) so we - * release the displays and can then see the alerts below. - */ - if ([fPictureController previewFullScreenMode] == YES) - { - [fPictureController previewGoWindowed:nil]; - } + hb_state_t s; hb_get_state( fQueueEncodeLibhb, &s ); |