Commit 8cfa162d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix 'leave fullscreen' menu

Close  #3700
parent 9c991226
...@@ -972,9 +972,12 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -972,9 +972,12 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
b_isFullscreen = !( !val.b_bool ); b_isFullscreen = !( !val.b_bool );
if( b_isFullscreen ) if( b_isFullscreen )
{
val.b_bool = false;
CreateAndConnect( menu, "fullscreen", CreateAndConnect( menu, "fullscreen",
qtr( "Leave Fullscreen" ),"" , ITEM_NORMAL, qtr( "Leave Fullscreen" ),"" , ITEM_NORMAL,
VLC_OBJECT(p_vout), val, VLC_VAR_BOOL, b_isFullscreen ); VLC_OBJECT(p_vout), val, VLC_VAR_BOOL, b_isFullscreen );
}
vlc_object_release( p_vout ); vlc_object_release( p_vout );
menu->addSeparator(); 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