aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/glue/qtwebenginewidgets.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-18 15:47:30 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-20 01:00:50 +0100
commit2e5cdd6bd8e99544fd9370900d30edda2c05c6f9 (patch)
treed832051067b428c4cd99872741e30c12e24e51b8 /sources/pyside2/PySide2/glue/qtwebenginewidgets.cpp
parent719277aee248afe75abfac77414540827517ad3f (diff)
shiboken: Fix classes with virtual destructors not being considered polymorphic
Previously, the polymorphic attribute was set in AbstractMetaClass::addFunction() depending on hasVirtualDestructor(). This does not work when the destructor is the last function traversed. Modify setHasVirtualDestructor() to set the hasVirtuals and polymorphic attributes, too. Fixes: PYSIDE-1246 Change-Id: If7b32a05110f96b5c4befde5f1d37475c9a5f240 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/glue/qtwebenginewidgets.cpp')
0 files changed, 0 insertions, 0 deletions