From fa24e309d331fb2f6c6d129cdb4843b531f294e3 Mon Sep 17 00:00:00 2001 From: kleuter Date: Wed, 12 May 2021 20:50:45 +0200 Subject: [PATCH] 5.15.2: QTBUG-84616 --- .../qtbase/src/plugins/platforms/cocoa/qcocoaaccessibility.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/5.15.2/qtbase/src/plugins/platforms/cocoa/qcocoaaccessibility.mm b/5.15.2/qtbase/src/plugins/platforms/cocoa/qcocoaaccessibility.mm index 106c226..df0a1bf 100644 --- a/5.15.2/qtbase/src/plugins/platforms/cocoa/qcocoaaccessibility.mm +++ b/5.15.2/qtbase/src/plugins/platforms/cocoa/qcocoaaccessibility.mm @@ -386,6 +386,8 @@ id getValueAttribute(QAccessibleInterface *interface) } if (interface->state().checkable) { + if (interface->state().checkStateMixed) + return @(2); return interface->state().checked ? @(1) : @(0); }