Accessibility: For app claim support for app iface.

Change-Id: Idb7f5971d61885f18d827f6bff3994df7a3860e5
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
Frederik Gladhorn 2012-09-28 20:15:02 +02:00 committed by The Qt Project
parent 0b6007936a
commit f303320f9e

View File

@ -1429,6 +1429,8 @@ QStringList AtSpiAdaptor::accessibleInterfaces(const QAIPointer &interface) cons
qAtspiDebug() << " IS NOT a component"; qAtspiDebug() << " IS NOT a component";
} }
#endif #endif
if (interface->role() == QAccessible::Application)
ifaces << QLatin1String(ATSPI_DBUS_INTERFACE_APPLICATION);
if (interface->actionInterface()) if (interface->actionInterface())
ifaces << QLatin1String(ATSPI_DBUS_INTERFACE_ACTION); ifaces << QLatin1String(ATSPI_DBUS_INTERFACE_ACTION);