Do not send QAccessible::Focus when current index is changed.
authorJan Arve Saether <jan-arve.saether@digia.com>
Mon, 17 Dec 2012 14:20:43 +0000 (15:20 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 4 Jan 2013 14:18:56 +0000 (15:18 +0100)
commit89f862ab10893dcfc707fa9bcdbea6fb449600ca
treee87a7e935583928a107a74e3e3867ed34053dd56
parent07e69c789686a949459e48cbcbd4dc0ea4b3dd8c
Do not send QAccessible::Focus when current index is changed.

This had the unfortunate side-effect that focus was reported to change
(but it didn't) just because the qtabbar was shown.
Found by clicking the different categories on the left-hand side of the
options dialog in Qt Creator.
So, what happened was that clicking "Text Editor" would move the
accessibility focus (that the AT client saw) to the "Font & Colors" tab)

Change-Id: I19a508f6a32a77696079d24c3c6408cb6c3d9fd5
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
src/widgets/widgets/qtabbar.cpp