From 59524e7a3f2c56209fd15afdb6b192c609b14ddc Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 25 Jul 2010 12:25:05 +0000 Subject: vo_corevideo, vo_quartz: remove useless kQuitCmd Remove kQuitCmd, it has no purpose or effect at all. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31811 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unused kQuitCmd from vo_quartz. While just as useless as for corevideo, the "Quit" menu item at least works through kHICommandQuit here. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31812 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_corevideo.m | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libvo/vo_corevideo.m') diff --git a/libvo/vo_corevideo.m b/libvo/vo_corevideo.m index f2964f8517..2e39a71195 100644 --- a/libvo/vo_corevideo.m +++ b/libvo/vo_corevideo.m @@ -616,11 +616,6 @@ static int control(uint32_t request, void *data) */ - (void)menuAction:(id)sender { - if(sender == kQuitCmd) - { - mplayer_put_key(KEY_CLOSE_WIN); - } - if(sender == kHalfScreenCmd) [self set_winSizeMult: 0.5]; if(sender == kNormalScreenCmd) -- cgit v1.2.3