summaryrefslogtreecommitdiffstats
path: root/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2023-03-23 07:02:42 -1000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-03-24 05:49:28 +0000
commit22943b3a3f44fcf67da84f027d898ee9f2dfb666 (patch)
treed91c2935ca88e4e3706c28e924cb72797488fb5e /src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
parentfd1020f2d64498738f5068f7b6270926c2e87256 (diff)
QVariant: ensure the type custom is registered on construction
I must have broken this in the 6.5 work I did for QMetaType and QVariant, but I haven't searched which commit exactly did it. Our QVariant tests are old and thus only checked the type ID, which meant that they caused the registration by the act of asking for the ID in the first place; this commit adds a couple of explicit checks for the type registered by name before the ID. Fixes: QTBUG-112205 Change-Id: Idd5e1bb52be047d7b4fffffd174f1b14d90fd7a3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 8570e86fff183ffa4c1dff577c7fa14e3342daee) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp')
0 files changed, 0 insertions, 0 deletions