https://bugs.kde.org/show_bug.cgi?id=401069

--- Comment #2 from RJVB <rjvber...@gmail.com> ---
Created attachment 116327
  --> https://bugs.kde.org/attachment.cgi?id=116327&action=edit
potential fix

2-hunk patch:

- Hunk 2 is a protection against emitting the signal multiple times
- Hunk 1 appears to be a fix based on the following hypothesis:

If the menu obtained from KXMLGUI is always the same (QMenu instance) then its
aboutToShow and aboutToHide signals should be disconnected from all receivers
before connecting them to  "this". It makes no sense I can see to disconnect
from "this" and then reconnect to exactly the same slots.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to