diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-08-04 09:06:57 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-08-04 13:12:12 +0200 |
commit | 0b15b7f589b17232c35d28d9cc9b002f7dd89246 (patch) | |
tree | 1da480cf492af8e210453399149dd89d3c724601 /vcl/qt5 | |
parent | 5479f6290a5ac0fae3a26f01025d5eb9c554d4f0 (diff) |
qt a11y: Drop obsolete and misleading comment
The
/* Ignore window objects for sub-menus, combo- and list boxes,
* which are exposed as children of their parents.
*/
comment had been added in
commit 4d382636b0b1c555af2b98f2f41b4776fd7b5ffb
Date: Fri Sep 21 10:20:09 2018 +0200
qt5: Add basic a11y support
where the code was still actually doing that, but since
commit 7384e53bbc5163534ae898b7295b4efe51c8acde
Date: Fri Sep 28 17:00:12 2018 +0200
qt5 a11y: Use UNO Api instead of vcl::Window methods
that is no longer the case, so drop the obsolete comment.
Change-Id: Ic7739049f283dbe27f881414e87ada7616ca424f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137782
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/QtAccessibleWidget.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/qt5/QtAccessibleWidget.cxx b/vcl/qt5/QtAccessibleWidget.cxx index a73681cdf417..970a87cccddf 100644 --- a/vcl/qt5/QtAccessibleWidget.cxx +++ b/vcl/qt5/QtAccessibleWidget.cxx @@ -590,13 +590,8 @@ QAccessible::Role QtAccessibleWidget::role() const case AccessibleRole::STATIC: return QAccessible::StaticText; - /* Ignore window objects for sub-menus, combo- and list boxes, - * which are exposed as children of their parents. - */ case AccessibleRole::WINDOW: // top-level window without title bar - { return QAccessible::Window; - } } SAL_WARN("vcl.qt", "Unmapped role: " << getAccessibleContextImpl()->getAccessibleRole()); |