Commit c92c7f57 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix 'leave fullscreen' menu

Close  #3700
(cherry picked from commit 8cfa162d96f4cd8ab790ac14ba3ef7a2a7315f8f)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 035dac0a
......@@ -972,9 +972,12 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
b_isFullscreen = !( !val.b_bool );
if( b_isFullscreen )
{
val.b_bool = false;
CreateAndConnect( menu, "fullscreen",
qtr( "Leave Fullscreen" ),"" , ITEM_NORMAL,
VLC_OBJECT(p_vout), val, VLC_VAR_BOOL, b_isFullscreen );
}
vlc_object_release( p_vout );
menu->addSeparator();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment