Make sure accProbe can retrieve our relations.

For some reason NVDA didn't seem to be affected by this
(it still read out the related buddy/label)

Change-Id: I028c9cca359091a703c080a7caa8ec6f98444a30
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
bb10
Jan Arve Saether 2014-10-14 09:18:33 +02:00 committed by Jan Arve Sæther
parent dd97634f80
commit 153463ea95
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ AccessibleRelation::AccessibleRelation(const QList<QAccessibleInterface *> &targ
HRESULT STDMETHODCALLTYPE AccessibleRelation::QueryInterface(REFIID id, LPVOID *iface)
{
*iface = 0;
if (id == IID_IUnknown)
if (id == IID_IUnknown || id == IID_IAccessibleRelation)
*iface = (IUnknown*)this;
if (*iface) {