[vlc-devel] commit: Only Ctrl+H should make you quit minimalView mode ( Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Sep 5 08:15:01 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep  4 01:26:02 2008 -0700| [c31d99fdf67fbc9060fb9f413d06b0acf4efc1b6] | committer: Jean-Baptiste Kempf 

Only Ctrl+H should make you quit minimalView mode

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

 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 bf1df04..b876336 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -1136,7 +1136,7 @@ void MainInterface::customEvent( QEvent *event )
 
 void MainInterface::keyPressEvent( QKeyEvent *e )
 {
-    if( ( e->modifiers() &  Qt::ControlModifier ) && ( e->key() & Qt::Key_H )
+    if( ( e->modifiers() &  Qt::ControlModifier ) && ( e->key() == Qt::Key_H )
           && menuBar()->isHidden() )
     {
         toggleMinimalView();




More information about the vlc-devel mailing list