summaryrefslogtreecommitdiff
path: root/vcl/qt5/QtAccessibleWidget.cxx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-08-03 21:30:22 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2023-10-18 08:04:32 +0200
commitafb4c96d271958ced3175dfc2cf8bb9e8b0a9d3b (patch)
treeab0e80a276607a7b7839446d34c5cf1f2898d3c1 /vcl/qt5/QtAccessibleWidget.cxx
parentc7cef7500105c6122df90900b3ba919e80c3bbb9 (diff)
qt: Drop code for Qt < 5.15
Our new AlmaLinux 8 baseline provides Qt 5.15.3, so require 5.15 and drop the code for older, now unsupported Qt versions. Change-Id: I512ade1ba503fc7a86527a45142f37f043db6784 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155325 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/qt5/QtAccessibleWidget.cxx')
-rw-r--r--vcl/qt5/QtAccessibleWidget.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/qt5/QtAccessibleWidget.cxx b/vcl/qt5/QtAccessibleWidget.cxx
index d6112bdf8223..cd50af4aed9f 100644
--- a/vcl/qt5/QtAccessibleWidget.cxx
+++ b/vcl/qt5/QtAccessibleWidget.cxx
@@ -452,11 +452,7 @@ QAccessible::Role QtAccessibleWidget::role() const
case AccessibleRole::MENU_ITEM:
return QAccessible::MenuItem;
case AccessibleRole::NOTIFICATION:
-#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 5)
return QAccessible::Notification;
-#else
- return QAccessible::StaticText;
-#endif
case AccessibleRole::OPTION_PANE:
return QAccessible::Pane;
case AccessibleRole::PAGE_TAB: