summaryrefslogtreecommitdiffstats
path: root/examples/widgets/desktop/screenshot
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-18 12:02:27 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-18 19:06:02 +0200
commit3973d6c529605fbce8457d7663d244ebadbe7160 (patch)
tree180067afd3b49cca7777535d71f6bb7b9f27eeda /examples/widgets/desktop/screenshot
parent460b0f98c656643f36729fe3b0abc1ba361481b0 (diff)
Replace expensive inherits with cheaper qobject_cast (1)HEADdev
The accessibility implementations require the type to be fully defined anyway in order to call type-specific APIs, so there's no need to use inherits(). Use qobject_cast instead. Pick-to: 6.7 Change-Id: I5c013be57f48272a748451f4888911fe6aa6574e Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io> Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Diffstat (limited to 'examples/widgets/desktop/screenshot')
0 files changed, 0 insertions, 0 deletions