Set add panel as an explicit menu of a panel action
This allows QtWayland to guess the parent correctly when displaying the submenu. It also simplifies some code into a common path.
This allows QtWayland to guess the parent correctly when displaying the submenu. It also simplifies some code into a common path.