MenuButton should not have focus.

This commit is contained in:
Tvangeste 2012-12-31 19:23:14 +01:00
parent 1d2f682345
commit 915384d9d0

View file

@ -178,6 +178,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
menuButton->addAction( ui.menuOptions ); menuButton->addAction( ui.menuOptions );
menuButton->setToolTip( tr( "Menu Button" ) ); menuButton->setToolTip( tr( "Menu Button" ) );
menuButton->setObjectName( "menuButton" ); menuButton->setObjectName( "menuButton" );
menuButton->setFocusPolicy( Qt::NoFocus );
menuButtonAction = navToolbar->addWidget(menuButton); menuButtonAction = navToolbar->addWidget(menuButton);
menuButtonAction->setVisible( cfg.preferences.hideMenubar ); menuButtonAction->setVisible( cfg.preferences.hideMenubar );