summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@theqtcompany.com>2014-10-14 09:18:33 +0200
committerJan Arve Sæther <jan-arve.saether@theqtcompany.com>2014-11-26 10:41:55 +0100
commit153463ea956794053af755c22f6562fff4ed520a (patch)
tree9e896f82ac8daac0f378ac0bc77dd379b62b19e5
parentdd97634f80912f1c6467ea17307080bf0e4dbcdc (diff)
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>
-rw-r--r--src/plugins/platforms/windows/accessible/iaccessible2.cpp2
1 files changed, 1 insertions, 1 deletions
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<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) {