From 153463ea956794053af755c22f6562fff4ed520a Mon Sep 17 00:00:00 2001 From: Jan Arve Saether Date: Tue, 14 Oct 2014 09:18:33 +0200 Subject: [PATCH] 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 --- src/plugins/platforms/windows/accessible/iaccessible2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/windows/accessible/iaccessible2.cpp b/src/plugins/platforms/windows/accessible/iaccessible2.cpp index 7f60be0d50..3d6a6ced6e 100644 --- a/src/plugins/platforms/windows/accessible/iaccessible2.cpp +++ b/src/plugins/platforms/windows/accessible/iaccessible2.cpp @@ -121,7 +121,7 @@ AccessibleRelation::AccessibleRelation(const QList &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) {