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
This commit is contained in:
reimar 2010-07-25 12:25:05 +00:00 committed by Uoti Urpala
parent 79662b6f19
commit 59524e7a3f
3 changed files with 0 additions and 7 deletions

View File

@ -56,7 +56,6 @@
BOOL mouseHide;
//menu command id
NSMenuItem *kQuitCmd;
NSMenuItem *kHalfScreenCmd;
NSMenuItem *kNormalScreenCmd;
NSMenuItem *kDoubleScreenCmd;

View File

@ -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)

View File

@ -130,7 +130,6 @@ static int lastMouseHide = 0;
enum
{
kQuitCmd = 1,
kHalfScreenCmd = 2,
kNormalScreenCmd = 3,
kDoubleScreenCmd = 4,