summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearray.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-07-22 11:21:42 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-07-24 07:46:29 +0200
commit27fcf66319605ed29d35de4034a41f05e8ba0a3b (patch)
treed2c6f9255e9f9137cd6b9578f83313e55304f235 /src/corelib/text/qbytearray.cpp
parentaf7a3430edfc4deff494c9ec88b803f468b5cf2a (diff)
QMetaType: force properties to have a complete type again
When the compile time metatype support for methods was introduced, we needed to allow incomplete types to avoid breaking a large amount of code. However, this mistakenly enabled using incomplete types for properties, too. In contrast to methods, properties lack the fallback code to retrieve the metatype at runtime. Thus, this commit restores the completeness requirement for properties again. This is done by always calling QMetaTypeForType for properties in qTryMetaTypeForType. Amends fa987d44417528856d5e80ed7b48ba99e19fa307 Change-Id: I5f66ff289631c056eecebe40926bf321d283eea7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/text/qbytearray.cpp')
0 files changed, 0 insertions, 0 deletions