summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible
diff options
context:
space:
mode:
authorMarkku Heikkila <markku.heikkila@digia.com>2011-09-15 10:51:19 (GMT)
committerJan-Arve Saether <jan-arve.saether@nokia.com>2011-09-15 10:57:32 (GMT)
commit902ead36112dd19eef05b584fb9ad971a63afa05 (patch)
tree54320edf9698acff94618215530911d3118d245a /src/gui/accessible
parente59f140161ae48de4dc63df4ddff1d74ca7878f2 (diff)
downloadQt-902ead36112dd19eef05b584fb9ad971a63afa05.zip
Qt-902ead36112dd19eef05b584fb9ad971a63afa05.tar.gz
Qt-902ead36112dd19eef05b584fb9ad971a63afa05.tar.bz2
Mingw compile error src/gui/accessible/qaccessible_win.cpp
(*pvarState).lVal = elem.iface ? elem.iface->state(elem.entry) : 0; at least, gcc-4.4.3 complains the mismatched types of elem.iface->state(elem.entry) and 0, aslike, Merge-request: 1377 Reviewed-by: Jan-Arve Saether <jan-arve.saether@nokia.com>
Diffstat (limited to 'src/gui/accessible')
-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;
}