USe QDockWidget::toggleViewAction instead of KToggleAction.
When closing the dock this makes sure that action in the menu is unchecked.
Showing
Please register or sign in to comment
When closing the dock this makes sure that action in the menu is unchecked.