diff options
author | Frederik Gladhorn <[email protected]> | 2017-01-03 18:00:05 +0100 |
---|---|---|
committer | Frederik Gladhorn <[email protected]> | 2017-01-05 15:17:54 +0000 |
commit | fafdb171e0c317ee8f871dc7b504d3713d5860eb (patch) | |
tree | 5110884a2c0fe25dccf8a631c45e2eca975bddcb /qmake/doc/snippets/code | |
parent | 47de2ef27f9d68d5c1f2f935380e1517f99c9721 (diff) |
Accessibility macOS: fix parentElement
Try to return the immediate parent first, nothing else makes sense. The
original code relied on the window pointer usually being nullptr, which
is not reliable.
Make sure to check the validity of the handle returned, since it's
possible to have the platform window being nullptr. It's not quite clear
to me how to end up with a null window though.
Task-number: QTBUG-52304
Change-Id: Id3e70cdab980fb0a86cebbb7c10d824d8a7dd80b
Reviewed-by: Jan Arve Sæther <[email protected]>
Diffstat (limited to 'qmake/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions