diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-04-18 12:02:27 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-04-18 19:06:02 +0200 |
| commit | 3973d6c529605fbce8457d7663d244ebadbe7160 (patch) | |
| tree | 180067afd3b49cca7777535d71f6bb7b9f27eeda /src/widgets/doc/snippets/code | |
| parent | 460b0f98c656643f36729fe3b0abc1ba361481b0 (diff) | |
Replace expensive inherits with cheaper qobject_cast (1)
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 'src/widgets/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
