This commit is contained in:
kleuter 2021-08-09 17:20:01 +02:00
parent 8462e4a898
commit f164138d23

View File

@ -890,7 +890,7 @@ QAccessibleWindowContainer::QAccessibleWindowContainer(QWidget *w)
int QAccessibleWindowContainer::childCount() const int QAccessibleWindowContainer::childCount() const
{ {
if (container()->containedWindow()) if (container()->containedWindow() && QAccessible::queryAccessibleInterface(container()->containedWindow()))
return 1; return 1;
return 0; return 0;
} }