aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compat/removed_api.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2024-11-13 10:33:47 +0100
committerUlf Hermann <ulf.hermann@qt.io>2024-11-14 13:55:07 +0100
commita2ed499341fc038089f9bbcb63a8ce631b5ed838 (patch)
treebb583271be08dc2f0bf7f74d9af60305b05e898c /src/qml/compat/removed_api.cpp
parent6a4430f41364975f374afacac4f5628cc13c8eeb (diff)
QtQml: Clean up the AOT adapters' type compatibility code
There is a direction to the type compatibility. The LookupNotInitialized case can in fact not happen since we only call isTypeCompatible for "set" lookups these days. The QObject inheritance only works when the target type is a base type of the source type. The enumeration underlying type compatibility, however, works both ways. Luckily, the code generator currently doesn't generate any code that triggers these bugs. Change-Id: If7170f39b847e6b47a84e0881c33f27c54978e13 Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Diffstat (limited to 'src/qml/compat/removed_api.cpp')
0 files changed, 0 insertions, 0 deletions