Update deprecated NSAccessibility method
accessibilityEnabledAttribute is replaced with isAccessibilityEnabled. https://developer.apple.com/documentation/appkit/nsaccessibility/1535024-accessibilityenabled?language=objc Fixes: QTBUG-95293 Pick-to: 6.2 6.1 5.15 Change-Id: Ie88fa61ad97d6c77dcec15e63a73f64c90011497 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
1ee9496679
commit
fe1085e9ae
@ -247,7 +247,7 @@ static void convertLineOffset(QAccessibleTextInterface *text, int *line, int *of
|
||||
return iface->text(QAccessible::Name).toNSString();
|
||||
}
|
||||
|
||||
- (BOOL) accessibilityEnabledAttribute {
|
||||
- (BOOL) isAccessibilityEnabled {
|
||||
QAccessibleInterface *iface = QAccessible::accessibleInterface(axid);
|
||||
if (!iface || !iface->isValid())
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user