diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2020-05-14 12:03:54 +0200 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2020-05-19 13:33:02 +0200 |
commit | 5b3a86a87b628236fcb6be150e94e2229ce3445d (patch) | |
tree | 7b9b4d32089b28397537a0e392cfc64a61b5b931 /cmake/QtBuild.cmake | |
parent | 3dc3c0e2b66eb452cfde2c0702295dc6806a51fa (diff) |
a11y: Fix bug in the accessibility cache
We could sometimes cache a partially constructed object if the accessibility
interface for that was created during construction time of the object. This
usually ended up in that the interface for e.g. QMenuBar was stored in the
cache as a QAccessibleWidget, regardless of if the a11y factory supported it.
Since it was already in the cache, it remained the same for the entire lifetime of the
application, causing e.g. QMenuBar not have the correct accessibility behavior.
Task-number: QTBUG-83993
Change-Id: I72b2d5a93f6b397fd3666d45951109e3e5aff754
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'cmake/QtBuild.cmake')
0 files changed, 0 insertions, 0 deletions