diff options
author | Christian Strømme <christian.stromme@qt.io> | 2016-08-18 11:44:45 +0200 |
---|---|---|
committer | Christian Stromme <christian.stromme@qt.io> | 2016-08-23 14:55:49 +0000 |
commit | 5e3f770ad5e47f296b4782c0b6c5b03162027500 (patch) | |
tree | ef38b8ec77b976edfb7cc28e41450a6e6df8fd3a /src/widgets | |
parent | 449390c3a5f3a91e3895cbba0a583386e93366b7 (diff) |
Fix problem with exception reporting in QFuture::waitForResult()
This fixes a problem that occurs when a task, that is run synchronously,
throws an exception. If that happened, then the exception would not be
re-thrown, because of an early return.
Task-number: QTBUG-54831
Change-Id: Ic70c5b810ec6adce6e62bfd6832ba9f170b13a7f
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions