Change default implementation of window() to just return 0
authorJan-Arve Saether <jan-arve.saether@nokia.com>
Thu, 24 Nov 2011 14:33:29 +0000 (15:33 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 25 Nov 2011 10:29:11 +0000 (11:29 +0100)
commit53e4dfec7be15d63f60da4fddb926579c56a20a5
tree1ae9138ca0d045068f994c97940630b639f01455
parent84a9b009e71857192a2e7edbd569393231748b7c
Change default implementation of window() to just return 0

Instead move the traversal up to the ancestors to the bridge.
This simplifies the default implementation to just return 0

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