Skip to content

Commit

Permalink
Hide more children of accessible objects.
Browse files Browse the repository at this point in the history
Change-Id: Ie8874b3b5a354f7f0586efb601b217e4d296af5c
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
  • Loading branch information
Frederik Gladhorn authored and Qt by Nokia committed Jan 6, 2012
1 parent 3582101 commit 1976dcf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/plugins/accessible/quick/qaccessiblequickitem.cpp
Expand Up @@ -163,7 +163,14 @@ int QAccessibleQuickItem::indexOfChild(const QAccessibleInterface *iface) const

QList<QQuickItem *> QAccessibleQuickItem::childItems() const
{
if (role() == QAccessible::Button)
if ( role() == QAccessible::Button ||
role() == QAccessible::CheckBox ||
role() == QAccessible::RadioButton ||
role() == QAccessible::SpinBox ||
role() == QAccessible::EditableText ||
role() == QAccessible::Slider ||
role() == QAccessible::PageTab ||
role() == QAccessible::ProgressBar)
return QList<QQuickItem *>();
return m_item->childItems();
}
Expand Down

0 comments on commit 1976dcf

Please sign in to comment.