From 445ca096797ccb88c61ccb8d0d4ea287ca11eee0 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Thu, 4 Sep 2008 01:26:02 -0700 Subject: [PATCH] Only Ctrl+H should make you quit minimalView mode (cherry picked from commit c31d99fdf67fbc9060fb9f413d06b0acf4efc1b6) --- modules/gui/qt4/main_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 84a1883238..d2cab9c5aa 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(); -- GitLab