[vlc-devel] commit: Fix #1884 (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Aug 22 04:18:43 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 22 04:21:31 2008 +0200| [6bd699ccb73854547565af9af5ec21a307c00056] | committer: Jean-Baptiste Kempf
Fix #1884
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6bd699ccb73854547565af9af5ec21a307c00056
---
modules/gui/qt4/main_interface.cpp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 2ccaa8c..15b2772 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -813,10 +813,16 @@ void MainInterface::toggleMinimalView()
{
/* HACK for minimalView, see menus.cpp */
if( !menuBar()->isVisible() ) QVLCMenu::minimalViewAction->toggle();
+
if( i_visualmode != QT_ALWAYS_VIDEO_MODE &&
i_visualmode != QT_MINIMAL_MODE )
- {
+ { /* NORMAL MODE then */
if( videoWidget->isHidden() ) emit askBgWidgetToToggle();
+ else
+ {
+ /* If video is visible, then toggle the status of bgWidget */
+ bgWasVisible = !bgWasVisible;
+ }
}
TOGGLEV( menuBar() );
More information about the vlc-devel
mailing list