Skip to content
Snippets Groups Projects
Commit 778b24c6 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix context menu/main menu for newer Qt versions

the ownership semantics of sip/PyQt changed between versions. Object
which were previously staying in memory are now garbage collected.
Event handlers associated with these objects were then removed.
The fix presented in this patch is rather ugly. We store references to
the objects inside the _Init* functions. Ideally, these types of hacks
would not be required, but I could not find another way to approach
the problem.
parent ec328b37
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment