Only Ctrl+H should make you quit minimalView mode
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 4 Sep 2008 08:26:02 +0000 (01:26 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 5 Sep 2008 06:57:56 +0000 (23:57 -0700)
(cherry picked from commit c31d99fdf67fbc9060fb9f413d06b0acf4efc1b6)

modules/gui/qt4/main_interface.cpp

index 84a1883..d2cab9c 100644 (file)
@@ -1136,7 +1136,7 @@ void MainInterface::customEvent( QEvent *event )
 
 void MainInterface::keyPressEvent( QKeyEvent *e )
 {
 
 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();
           && menuBar()->isHidden() )
     {
         toggleMinimalView();