Return correct accessible name when a label has rich text
authorJosé Millán Soto <fid@gpul.org>
Sun, 23 Sep 2012 10:25:59 +0000 (12:25 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 16 Dec 2012 13:52:22 +0000 (14:52 +0100)
commitac371e98f33da6a80acb08da72ebc0720b70385b
treeec5c9aaff45742169f3a3315d68f7d5971c99062
parentbe330d8959dbd1a589a9d46e4ed12b5b16fffbb4
Return correct accessible name when a label has rich text

When a QLabel was displaying rich text, the raw html was being returned as
accessible name. Now the plain text is returned.

Task-number: QTBUG-27302
Change-Id: I2fc469b4ca8fc3584b849bbe0a94d094d727d04f
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
src/plugins/accessible/widgets/simplewidgets.cpp