forked from COVESA/dlt-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change parent of actions in config context menu (COVESA#522)
MainWindow was set as a parent of the context menu actions as a result all actions ever created (upon each ctx menu open) in one program session remained on heap until program is closed. Assigning local menu variable as a parent deallocates actions when menu is closed Signed-off-by: Viktor Kopp <[email protected]>
- Loading branch information
Showing
1 changed file
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters