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:
parent
e62fe9ed4f
commit
c7cb935b92
@ -143,6 +143,9 @@ void QLineEditPrivate::_q_selectionChanged()
|
|||||||
}
|
}
|
||||||
|
|
||||||
emit q->selectionChanged();
|
emit q->selectionChanged();
|
||||||
|
#ifndef QT_NO_ACCESSIBILITY
|
||||||
|
QAccessible::updateAccessibility(q, 0, QAccessible::TextSelectionChanged);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void QLineEditPrivate::_q_updateNeeded(const QRect &rect)
|
void QLineEditPrivate::_q_updateNeeded(const QRect &rect)
|
||||||
|
Loading…
Reference in New Issue
Block a user