connect actionShowMenuBar.toggled() directly to menubar.setVisible()