OSDN Git Service

MacGui: Fix pending encodes left in queue at quit warning that was borked in 3154.
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 9 Mar 2010 14:58:02 +0000 (14:58 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 9 Mar 2010 14:58:02 +0000 (14:58 +0000)
- 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://localhost/HandBrake/trunk@3155 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.m

index cd54612..ce3e70a 100644 (file)
@@ -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 );