Accessibility: Do not look for the "text" property as a last resort.
authorJan-Arve Saether <jan-arve.saether@nokia.com>
Tue, 15 May 2012 13:01:23 +0000 (15:01 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 16 May 2012 15:04:58 +0000 (17:04 +0200)
commita9ad3dea7e936d82650b95a6a59ba25421f2e29f
tree8b564e6d9ca5b6b996cfe50e2043647e37b53753
parentedeaf999ccf3cd9fb662b291282eb47b77a01622
Accessibility: Do not look for the "text" property as a last resort.

This does not work very well with items where the text property
is just an alias to the concrete property on a child item.
The screen reader might then read aloud the text twice, one for the
item with the alias, and another time for the child item.

Change-Id: I11764c2988b1b3b10b6d80ed8978ef2191d51097
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
src/plugins/accessible/quick/qaccessiblequickitem.cpp