mirror of https://github.com/mpv-player/mpv
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:
parent
79662b6f19
commit
59524e7a3f
|
@ -56,7 +56,6 @@
|
|||
BOOL mouseHide;
|
||||
|
||||
//menu command id
|
||||
NSMenuItem *kQuitCmd;
|
||||
NSMenuItem *kHalfScreenCmd;
|
||||
NSMenuItem *kNormalScreenCmd;
|
||||
NSMenuItem *kDoubleScreenCmd;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -130,7 +130,6 @@ static int lastMouseHide = 0;
|
|||
|
||||
enum
|
||||
{
|
||||
kQuitCmd = 1,
|
||||
kHalfScreenCmd = 2,
|
||||
kNormalScreenCmd = 3,
|
||||
kDoubleScreenCmd = 4,
|
||||
|
|
Loading…
Reference in New Issue