diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-06-15 14:14:12 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-06-16 13:49:45 +0200 |
commit | 30ad4cf558789a0b332d7e038dcfe4f54718e937 (patch) | |
tree | 11d872fbff2d98e32f135b08bf0fb6d074740f4b /src/corelib/text/qbytearraymatcher.cpp | |
parent | 87bc5f7a7ca6240845cc59d877824c7de01d614d (diff) |
Warn about constructing QMetaTypes/QVariants with invalid type ids
Warn about using an invalid type id in all cases. So far, only some
constructors of QVariant would warn. Move the warning over to
the place where we map a typeid to a QMetaTypeInterface to catch all
cases.
Change-Id: I4cd48a2b5d6c597dbf2afbeae9b811cd0819b768
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/text/qbytearraymatcher.cpp')
0 files changed, 0 insertions, 0 deletions