For check menu, use rather the triggered(bool checked) action. Make also sur that the menu is checked accordingly at startup.