Send text selection changes for accessibility.

Change-Id: I3c50510ae9f995101d6e2c977c5138713389d71e
(cherry picked from commit 2cf1f24f93fa0f3f5bd7d38e160160a2c91d87f5)
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
This commit is contained in:
Frederik Gladhorn 2012-01-20 18:12:13 +01:00 committed by Qt by Nokia
parent e62fe9ed4f
commit c7cb935b92

View File

@ -143,6 +143,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)