Review Request 124637: ContextMenuMutator - fix - remove (manually created) submenu when parent menu is hid

Maciej Poleski d82ks8djf82msd83hf8sc02lqb5gh5 at
Wed Aug 19 19:09:37 UTC 2015

This is an automatically generated e-mail. To reply, visit:

(Updated Sie 19, 2015, 9:09 po poĊ‚udniu)


This change has been marked as submitted.

Review request for KDevelop.

Repository: kdev-clang


ContextMenuMutator - remove manually created submenu when parent menu is hid

It looks like context menu is long living. But every new opening populates with (potentially) new "Refactorings" submenu.
This fix introduces event filter watching for hide events on context menu (but only if submenu was created). hide event -> `submenu->deleteLater()`


  refactoring/contextmenumutator.h PRE-CREATION 
  refactoring/contextmenumutator.cpp PRE-CREATION 



Manual testing.


Maciej Poleski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list