diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-07-20 10:55:10 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-08-05 14:41:14 +0200 |
| commit | 0c75c823b0c8e48f03fa0bb166b195bfa7d5f2e9 (patch) | |
| tree | b5b67aeb1ce883dad8331dad7b955df95123826e /examples/scriptableapplication/pythonutils.cpp | |
| parent | 1f4c770c07b64d33e0f5a73dd82a0e25ac23c7f3 (diff) | |
feature: fix the UIC switching problem
The BindingManager::getOverride function computes the current
switch state from information of a type object. But the type object
must first be updated in case a switch has happened.
The solution was an extra update call at the beginning of the
function.
This solution _always_ works, with or without inheritance, for
Python >= 3.7.
[ChangeLog][shiboken6] Coexistence of different feature
selections works now, especially for UIC files and inheritance.
Fixes: PYSIDE-1626
Change-Id: I577331cfb2d7511110d1e16e729bed80985340a0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 9b5fa60d1fed5025e97c393ba1bab80f81ba833a)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions
