summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-07-20 13:29:32 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2021-07-21 04:08:27 +0200
commit7be0f62de07aa3a046f0996eeb673d9a4d7c9672 (patch)
treede5dfb4e4c702462fc26369311aa238cd20c864d /vcl
parent6c88244908409e1d5a4ffe5fffbad35f9892b9fa (diff)
qt5 a11y: Handle AccessibleStateType::MOVEABLE
This addresses warnings like warn:vcl.qt5:151782:151782:vcl/qt5/Qt5AccessibleWidget.cxx:636: Unmapped state: 31 which I started seeing when running LO with kf5 VCL plugin and Orca enabled after commit ddbc111555607e62b94b74aacadd6a964b9fe4a5 Author: Michael Weghorn <m.weghorn@posteo.de> Date: Mon Jul 19 17:13:04 2021 +0200 qt5 a11y: Set proper a11y states had fixed handling of a11y states. Change-Id: I00b8f2f75954fbd7d9e5f0807b51e5632d1a8035 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119248 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/Qt5AccessibleWidget.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx
index 6e104a43d6e0..fdce6e41fc87 100644
--- a/vcl/qt5/Qt5AccessibleWidget.cxx
+++ b/vcl/qt5/Qt5AccessibleWidget.cxx
@@ -587,6 +587,9 @@ void lcl_addState(QAccessible::State* state, sal_Int16 nState)
case AccessibleStateType::MODAL:
state->modal = true;
break;
+ case AccessibleStateType::MOVEABLE:
+ state->movable = true;
+ break;
case AccessibleStateType::OPAQUE:
// No match
break;