Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iOS: Iterate accessible interface to find window
Many subclasses of QAccessibleInterface implement window(), but some don't, and the documentation states that the backend (us) will traverse ancestors until it finds one with a window. We were not doing that for iOS, which caused a crash for QAccessibleTabButton, which doesn't have a window. In case we ever hit the code path where we can't find a window we also skip adding the nil element to the array in createAccessibleElement, as that causes an exception. Amends 7a512d1 Pick-to: 6.8 6.5 Change-Id: I9b758423956e845a01b014022f4d3ab6306be94e Reviewed-by: Doris Verria <[email protected]> (cherry picked from commit 6689921) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
- Loading branch information