Proper checkmark for the Menubar action.

This commit is contained in:
Tvangeste 2012-12-29 21:24:48 +01:00
parent e8cefa1330
commit 747b227653

View file

@ -394,7 +394,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
// Toggle Menubar
toggleMenuBarAction.setCheckable( true );
toggleMenuBarAction.setChecked( true );
toggleMenuBarAction.setChecked( !cfg.preferences.hideMenubar );
toggleMenuBarAction.setShortcut( QKeySequence( "Ctrl+M" ) );
connect( &toggleMenuBarAction, SIGNAL( triggered() ),