diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2012-01-20 18:12:13 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-25 04:06:12 +0100 |
commit | 63bf9cafcb1107866c518d07ecb2c691c2ad5856 (patch) | |
tree | 33311eba7285669d6141bbde1e3732afad7daea0 | |
parent | 3864ad09d578210b52e5f58fca2ee8a1144f5be2 (diff) | |
download | qt4-tools-63bf9cafcb1107866c518d07ecb2c691c2ad5856.tar.gz |
Send text selection changes for accessibility.
Change-Id: I3c50510ae9f995101d6e2c977c5138713389d71e
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
-rw-r--r-- | src/gui/widgets/qlineedit_p.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/qlineedit_p.cpp b/src/gui/widgets/qlineedit_p.cpp index 30cdb90f6e..08b0685c41 100644 --- a/src/gui/widgets/qlineedit_p.cpp +++ b/src/gui/widgets/qlineedit_p.cpp @@ -142,6 +142,9 @@ void QLineEditPrivate::_q_selectionChanged() } emit q->selectionChanged(); +#ifndef QT_NO_ACCESSIBILITY + QAccessible::updateAccessibility(q, 0, QAccessible::TextSelectionChanged); +#endif } void QLineEditPrivate::_q_updateNeeded(const QRect &rect) |