[vlc-commits] commit: Qt: fix 'leave fullscreen' menu (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Tue Jun 1 15:19:06 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 1 15:17:37 2010 +0200| [8cfa162d96f4cd8ab790ac14ba3ef7a2a7315f8f] | committer: Jean-Baptiste Kempf
Qt: fix 'leave fullscreen' menu
Close #3700
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cfa162d96f4cd8ab790ac14ba3ef7a2a7315f8f
---
modules/gui/qt4/menus.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 33dcce2..13a3895 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -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();
More information about the vlc-commits
mailing list