diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2010-07-20 09:40:48 (GMT) |
---|---|---|
committer | Toby Tomkins <toby.tomkins@nokia.com> | 2010-07-22 02:48:35 (GMT) |
commit | 609435eddf02a9321c25f385b91852a47d9152f9 (patch) | |
tree | be837675f95aa7ba5a3c4d13aec9125c86d5c1eb /configure | |
parent | cec1dda330bff7203c128eafb109f4f804897610 (diff) | |
download | Qt-609435eddf02a9321c25f385b91852a47d9152f9.zip Qt-609435eddf02a9321c25f385b91852a47d9152f9.tar.gz Qt-609435eddf02a9321c25f385b91852a47d9152f9.tar.bz2 |
Do not crash due to a infinite recursion when using voiceover on MacOS
The reason for the infinite recursion was that
QAccessibleTitleBar::object() returned the titlebar's dockwidget.
This could lead to a problem when the AT client tried to
traverse the accessibility hierarchy:
As a response to QAXChildrenAttribute (retrieve children) on a dock
widget node, it would register it's children in the
hierarchy manager. In this case, the object registered for the titlebar
interface was the QDockWidget.
In order to do further traversal, the bridge could call
queryAccessibleInterface on the list of retrieved children to get the
QAccessibleInterface for those objects, however, that would return the
QAccessibleDockWidget interface that we just had traversed,....
Task-number: QTBUG-6843
Reviewed-by: Carlos Manuel Duclos Vergara
(cherry picked from commit 64b9e63f4f9162c1af299b1355e84b0e616ad768)
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions