diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-01-30 19:04:01 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-06-28 13:59:32 +0200 |
| commit | 4ca5aefe4f6e05eba4d73a93620134e37ac5f1d6 (patch) | |
| tree | 17374bd504c7fc5ac9d693e981c78671c20b8cac /examples/scriptableapplication/pythonutils.cpp | |
| parent | bd4180ffdd47d423b0bd2b995b09df474b8c5a81 (diff) | |
shiboken: Provide the correct inheritance for enum types, Fix
This patch adds a missing Py_INCREF on the base class
`Shiboken.Enum` when a new type is created. This is _not_
automatically provided (but it _is_ for the meta type...).
The error was visible in a debug build, only.
Change-Id: I213713535acd1dde71bd8e3a0efe6122119d43b5
Fixes: PYSIDE-1487
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit ddb03b40f311a9c34b599136ac1cb0324f6b2b42)
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions
