Skip to content

Panel: fix actions and shortcuts to toggle their visibility

Méven Car requested to merge work/meven/fix-dock-shortcuts into kf6

This regressed compared to Qt5.

https://doc.qt.io/qt-6/qdockwidget.html#toggleViewAction

Note: The action can not be used to programmatically show or hide the dock widget. Use the visible property for that.

Despite this, in Qt5 createPanelAction somehow worked.

Merge request reports