Fix get_accFocus() to return CHILDID_SELF when it returns itself.
authorJan-Arve Saether <jan-arve.saether@nokia.com>
Fri, 2 Mar 2012 15:51:26 +0000 (16:51 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 2 Mar 2012 17:36:07 +0000 (18:36 +0100)
commit72b5afddb9a47084850af9a403c4a1823336b5cf
tree793c763369c847b1fbb74cb6a3f4849bc7040d77
parentc531fcc92eeae600732d8e9fb63b70889322c018
Fix get_accFocus() to return CHILDID_SELF when it returns itself.

This means that the AT client knows it should not have to ask for
the focus child anymore.
Previously, some clients (NVDA) kept on asking infinitely because of
this.

Change-Id: Ia2bd2e1088a899f7d1a0c9189024accdacfd693b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
src/plugins/platforms/windows/qwindowsaccessibility.cpp