[Libreoffice-commits] core.git: vcl/qt5
Michael Weghorn (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 14 05:33:10 UTC 2021
vcl/qt5/Qt5AccessibleWidget.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 641c78de46d1e38eb8fe1b5f4d0cb8471934f240
Author: Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Tue Jul 13 15:34:54 2021 +0200
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Jul 14 07:32:35 2021 +0200
qt5: Map AccessibleStateType::EXPANDED
This addresses
warn:vcl.qt5:75450:75450:vcl/qt5/Qt5AccessibleWidget.cxx:633: Unmapped state: 9
seen when running LO with kf5 VCL plugin and the Orca screen
reader enabled.
Change-Id: I05e7b0cbbdce63300288ab4d74afc0933c93ec9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118847
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>
diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx
index 879c451ec277..8b2b16727283 100644
--- a/vcl/qt5/Qt5AccessibleWidget.cxx
+++ b/vcl/qt5/Qt5AccessibleWidget.cxx
@@ -563,6 +563,9 @@ void lcl_addState(QAccessible::State* state, sal_Int16 nState)
case AccessibleStateType::EXPANDABLE:
state->expandable = true;
break;
+ case AccessibleStateType::EXPANDED:
+ state->expanded = true;
+ break;
case AccessibleStateType::FOCUSABLE:
state->focusable = true;
break;
More information about the Libreoffice-commits
mailing list