summaryrefslogtreecommitdiffstats
path: root/examples/opengl/2dpainting/glwidget.cpp
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2025-06-17 12:59:41 -0700
committerThiago Macieira <[email protected]>2025-06-21 14:40:04 -0700
commite503a4a00ee48b8ed5209880be446978f7d13467 (patch)
treeb63b2a5d3c0ac03aab70352113843b89a4899d4e /examples/opengl/2dpainting/glwidget.cpp
parent9ea5a2aa85c9e37d47a18082c5c36e08808d76f3 (diff)
QMetaType::fromName: avoid going through the type ID middle-manHEADdev
We were calling qMetaTypeTypeImpl() and then the QMetaType(int) constructor and each of those operations required locking the registry for custom types. Now, we simply extract the interface pointer from the registry, avoiding the relocking. Pick-to: 6.10 Change-Id: I9acb47121bbf64f514d6fffda4c07e77efe3c2d8 Reviewed-by: Ivan Solovev <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'examples/opengl/2dpainting/glwidget.cpp')
0 files changed, 0 insertions, 0 deletions