Call updateAccessibility with the right index.
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Wed, 7 Mar 2012 12:39:57 +0000 (13:39 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 8 Mar 2012 06:28:21 +0000 (07:28 +0100)
commitb55ed97e7967fca675fa43a8c0cd7445bbbbb493
treec06ab7f99fddbfffe0bfd858ddfc9859dc1f9bd9
parent316b050324042f03da8e31fde76e1fd8e16a4697
Call updateAccessibility with the right index.

In Qt 4 index 0 was the widget itself.
With the cleanup of child index this now changed.
The default constructor uses -1 as parameter to signify that
the widget is the cause, not a child.

Change-Id: I329a1cc91bf2d1d1d8534739acbddfe107f40364
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
13 files changed:
src/widgets/dialogs/qdialog.cpp
src/widgets/dialogs/qmessagebox.cpp
src/widgets/graphicsview/qgraphicsscene.cpp
src/widgets/kernel/qwhatsthis.cpp
src/widgets/kernel/qwidget.cpp
src/widgets/widgets/qabstractbutton.cpp
src/widgets/widgets/qabstractslider.cpp
src/widgets/widgets/qabstractspinbox.cpp
src/widgets/widgets/qlineedit_p.cpp
src/widgets/widgets/qmenu.cpp
src/widgets/widgets/qprogressbar.cpp
src/widgets/widgets/qwidgetlinecontrol.cpp
tests/auto/other/qaccessibility/tst_qaccessibility.cpp