Skip to content
Commit e932b113 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Fix context menu position on Wayland

On Wayland popup menus without a parent won't have a transient parent
window, which is required to show the menu in the right position.

The context menu in the archiveview is created by kxmlgui, without a
parent because it was a top-level <Menu> tag. If we define it as child
of the <MainWindow> tag, we ensure that the main window will be used as
parent of the menu.
parent be45a3a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment