diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2017-12-11 21:12:10 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-13 10:41:25 +0200 |
commit | 6faa4d4a87662a6254542da37b3a6fff528e0a6c (patch) | |
tree | 04578d13b1c923a3a34e4f9ace27d2884759d76a /src/corelib/global/qlogging.cpp | |
parent | 486c55d7437c247472e287f0f2ccc883399d9f79 (diff) |
QFuture: Wait for result on iterator advance
Wait for the result at the target index if the future
is running and the iterator index is past the current
result count.
Determine if there is a result at the target index
after waitForResult() returns, and return -1/end if
not.
Also support decrementing the end iterator. In this
case wait for the future to finish in order to get
the final result count.
Task-number: QTBUG-59811
Change-Id: I8fcc711bab2e72c3c5196a55b794d25e18bb324d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/global/qlogging.cpp')
0 files changed, 0 insertions, 0 deletions