El diumenge, 6 de novembre de 2016, a les 10:43:42 CET, David Faure va escriure: > On mercredi 12 octobre 2016 00:05:30 CET Albert Astals Cid wrote: > > My current (yet to implement/test) idea is have > > KStandardAction::showMenubar check all the menubars of the top level > > windows of the app and if they are all marked as native, then return a > > dummy QAction that is not inserted in the menubar/actionCollection and > > that already returns "true" for checked. > Why not just call QAction::setVisible(false) ?
Yep, that's what https://git.reviewboard.kde.org/r/129261/ does. Cheers, Albert