changeset 31745:02e01a5e1010

Remove kQuitCmd, it has no purpose or effect at all.
author reimar
date Sun, 25 Jul 2010 12:25:05 +0000
parents e87d7a5949b1
children b7fcb8181a38
files libvo/vo_corevideo.h libvo/vo_corevideo.m
diffstat 2 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_corevideo.h	Sun Jul 25 12:22:02 2010 +0000
+++ b/libvo/vo_corevideo.h	Sun Jul 25 12:25:05 2010 +0000
@@ -56,7 +56,6 @@
 	BOOL mouseHide;
 
 	//menu command id
-	NSMenuItem *kQuitCmd;
 	NSMenuItem *kHalfScreenCmd;
 	NSMenuItem *kNormalScreenCmd;
 	NSMenuItem *kDoubleScreenCmd;
--- a/libvo/vo_corevideo.m	Sun Jul 25 12:22:02 2010 +0000
+++ b/libvo/vo_corevideo.m	Sun Jul 25 12:25:05 2010 +0000
@@ -616,11 +616,6 @@
  */
 - (void)menuAction:(id)sender
 {
-	if(sender == kQuitCmd)
-	{
-		mplayer_put_key(KEY_CLOSE_WIN);
-	}
-
 	if(sender == kHalfScreenCmd)
 		[self set_winSizeMult: 0.5];
 	if(sender == kNormalScreenCmd)