Skip to content

Install middle click event handler on KXmlGui Toolbar menu

Kai Uwe Broulik requested to merge work/kbroulik/middle-click-kxmlgui-menu into master

For ease of access, KXmlGui adds a actions in a delayed/split toolbar button to its own context menu. We have no access to this menu, so we cannot install our middle-click event handler.

To address this, a horrible hack is used to install the event filter on the associated widget when the action becomes visible.


@felixernst @fvogt

Merge request reports