Call QAccessible::updateAccessibility when setText is called on QLabel
authorJosé Millán Soto <fid@gpul.org>
Thu, 14 Jul 2011 12:25:57 +0000 (14:25 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 26 Aug 2011 20:42:10 +0000 (22:42 +0200)
commit420c4edb8aa8317afef864353a6fb5353d00ad60
tree1de8321c678f3619608eb121a0a38c529fdb2047
parenteeffba2e55707912599b1258c8fda1684c7ef53b
Call QAccessible::updateAccessibility when setText is called on QLabel

The method is called when the text of a label is changed and setAccessibleName has
not been called on the label, as the text of the label acts as the accessible name
of the label.

Merge-request: 1301
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
(cherry picked from commit a1f2b68e97477440cf508e6d497eb5f5d9971971)

Change-Id: Ic10f75e72ac3faa84777c444177b287b720a1dc2
Reviewed-on: http://codereview.qt.nokia.com/3040
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
src/gui/widgets/qlabel.cpp