Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
overlay: Auto disconnect when the overlay widget is deleted
Register `__on_destroyed` as a Qt slot so it can be automatically disconnected when the overlay widget is deleted/destroyed. This fixes a possible 'RuntimeError C/C++ object was deleted ...' error when the overlay is deleted before the target widget.
- Loading branch information