diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2016-06-03 10:58:51 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2016-06-13 06:13:09 +0000 |
commit | c111abe0605c95b50eb4362df2a68953f3e0da1e (patch) | |
tree | bb835e60ab46cf929384c2cae72588aa5221f7bd /src/network/network.pro | |
parent | 0f6ededb157b3739b95c470f8dbf7b8bbb5a61cc (diff) |
WinRT: fixed error reporting of QNativeSocketEngine::initialize
If runOnXamlThread returns anything but S_OK an exception is thrown
which might cause the application to terminate. So we give the lambda
a reference to hr and check that reference instead of runOnXamlThread's
return value for errors.
Change-Id: I1188ea720c63f6fdf43400f2f3ff928b72afc58e
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/network/network.pro')
0 files changed, 0 insertions, 0 deletions