[vlc-devel] commit: Close #1826. (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Aug 7 03:45:15 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug  6 18:47:34 2008 -0700| [d78dcadd69d64c501d9ccb2ac73672dcfaf9a73e] | committer: Jean-Baptiste Kempf 

Close #1826.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d78dcadd69d64c501d9ccb2ac73672dcfaf9a73e
---

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 718b61b..f96deb8 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -807,7 +807,7 @@ void MainInterface::toggleMinimalView()
     if( i_visualmode != QT_ALWAYS_VIDEO_MODE &&
         i_visualmode != QT_MINIMAL_MODE )
     {
-        emit askBgWidgetToToggle();
+        if( videoWidget->isHidden() ) emit askBgWidgetToToggle();
     }
 
     TOGGLEV( menuBar() );




More information about the vlc-devel mailing list