summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible/qaccessible_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/accessible/qaccessible_win.cpp')
-rw-r--r--src/gui/accessible/qaccessible_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/accessible/qaccessible_win.cpp b/src/gui/accessible/qaccessible_win.cpp
index caabae5..1fd1bfd 100644
--- a/src/gui/accessible/qaccessible_win.cpp
+++ b/src/gui/accessible/qaccessible_win.cpp
@@ -1316,7 +1316,7 @@ HRESULT STDMETHODCALLTYPE QWindowsAccessible::get_accState(VARIANT varID, VARIAN
(*pvarState).vt = VT_I4;
AccessibleElement elem(varID.lVal, accessible);
- (*pvarState).lVal = elem.iface ? elem.iface->state(elem.entry) : 0;
+ (*pvarState).lVal = elem.iface ? elem.iface->state(elem.entry) : State(Normal);
return S_OK;
}