diff options
author | Oliver Wolff <oliver.wolff@theqtcompany.com> | 2015-12-14 09:15:16 +0100 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@theqtcompany.com> | 2016-01-05 08:14:37 +0000 |
commit | 275f182872fa2671da9445ba6295f50f2c283ae6 (patch) | |
tree | f34ac96217b4a631450ca2f6db5c69affcbb2e59 /src/winmain/qtmain_winrt.cpp | |
parent | 452a27e1f0abba550cba24390c03a05d9091bedc (diff) |
winrt: Added timeout to await function
Instead of using a "custom wait function" in cases,
where a timeout is needed (like in qhostinfo_winrt.cpp)
we should have the timeout as part of our await
function.
By having one common place to handle this, we can avoid
unnecessary warnings, that might be caused by custom
functions. The current implementation in qhostinfo
for example causes at least 1 "originate error"
exception per call.
Change-Id: I7b6cfdfd861af2b0d271465eecaefe4a93e3109b
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Diffstat (limited to 'src/winmain/qtmain_winrt.cpp')
0 files changed, 0 insertions, 0 deletions