diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2012-03-23 17:40:38 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-03 15:07:40 +0200 |
commit | 60b9151d36a9fb84b771f18d2c517e122b08ed70 (patch) | |
tree | 0358d2ef8c9a8a79e2b5ecaed1d4753274a33d1e /src/quick/items/qquicktext.cpp | |
parent | 330dbc6bba11f401c9f258aa6281dbdfebfc8602 (diff) |
Do not automatically mark all text items as accessible.
This adds more confusion and fails more often due
to invisible items and overlays that it helps.
The test saw lots of "children" before that were
text elements, these are gone now.
With this the hack to make children based on
item role invisible can go away.
Change-Id: Ic5a3bba6e271747237e0e85168f4290bf596bc8a
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'src/quick/items/qquicktext.cpp')
-rw-r--r-- | src/quick/items/qquicktext.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp index 864dde395e..24dd10ac9f 100644 --- a/src/quick/items/qquicktext.cpp +++ b/src/quick/items/qquicktext.cpp @@ -2359,9 +2359,6 @@ void QQuickText::componentComplete() QQuickItem::componentComplete(); if (d->updateOnComponentComplete) d->updateLayout(); - - // Enable accessibility for text items. - d->setAccessibleFlagAndListener(); } |