From f53f7095044275767e389d16aabad5ff7144ec9f Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 9 Jun 2022 12:52:37 +0200 Subject: Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) Pick-to: 6.4 Change-Id: Iee4bd8970810be1b23bdba65a74de912401dca65 Reviewed-by: Qt CI Bot Reviewed-by: Marc Mutz --- src/widgets/styles/qstylehelper_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/styles/qstylehelper_p.h') diff --git a/src/widgets/styles/qstylehelper_p.h b/src/widgets/styles/qstylehelper_p.h index c549b4634f..524417e405 100644 --- a/src/widgets/styles/qstylehelper_p.h +++ b/src/widgets/styles/qstylehelper_p.h @@ -56,7 +56,7 @@ namespace QStyleHelper Q_WIDGETS_EXPORT void drawBorderPixmap(const QPixmap &pixmap, QPainter *painter, const QRect &rect, int left = 0, int top = 0, int right = 0, int bottom = 0); -#ifndef QT_NO_ACCESSIBILITY +#if QT_CONFIG(accessibility) Q_WIDGETS_EXPORT bool isInstanceOf(QObject *obj, QAccessible::Role role); Q_WIDGETS_EXPORT bool hasAncestor(QObject *obj, QAccessible::Role role); #endif -- cgit v1.2.3