summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2016-02-09 12:14:21 +0100
committerMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2016-02-12 18:03:53 +0000
commit62984d89187b2a65137db3029235d358dd3c703a (patch)
tree51e6b7b050a3ecabcadc1b77e7fb0b8581d640cb /src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp
parent70fb36e4bdefa37cff77decac5d549368e805aa8 (diff)
Fix input pane usage on Windows 10 IoT Core
Running on Raspberry Pi casting to IInputPane2 fails with E_NO_INTERFACE as there is no input pane available for the device. However, if E_NO_INTERFACE is returned from the lambda, then deletion of the ComPtr holding the AsyncAction in runOnXamlThread() crashes somewhere deep internally of Release(). As we do not check for the return value anywhere, avoid the crash by returning S_OK instead. Change-Id: Icd38ec482b365285a482e5ff792ec1b4f13317d5 Reviewed-by: Andrew Knight <andrew.knight@intopalo.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp')
0 files changed, 0 insertions, 0 deletions