[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:56:39 CEST 2008


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

Only Ctrl+H should make you quit minimalView mode
(cherry picked from commit c31d99fdf67fbc9060fb9f413d06b0acf4efc1b6)

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

 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 84a1883..d2cab9c 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