Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gui: PythonWrapper: Do not steal reference
Foreign Python objects needs to be passed as Py::Object(). Py::asObject() is stealing reference and object might be garbage collected even before dereferenced. Problem didn't show in the original code because methods Py::asObject() was used in were never called. Fixes: ac6f991 (Gui: Consolidate Python -> Qt class conversion)
- Loading branch information