diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-02-11 17:03:51 +0100 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-02-11 22:02:35 +0100 |
commit | 407d076124d42a1f4911e139ffb2d77a117ef277 (patch) | |
tree | 401d71e6753bdb89c1306e8d6339db6bb2d7ea8c /src/corelib/thread/qpromise.qdoc | |
parent | 815bc61626825ec5572d642e6baaec9158d81044 (diff) |
Remove mentions of QtConcurrent::runWithPromise from docs
cf043a785ac9357e8f1283ea9e1496261af2b1a5 unified QtConcurrent::run() and
QtConcurrent::runWithPromise(). Remove the last mentions of
runWithPromise. Also did some minor cosmetic improvements.
Pick-to: 6.3
Change-Id: Ie3b39600978ccfa4a009d3ff68567a348dc7b166
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/corelib/thread/qpromise.qdoc')
-rw-r--r-- | src/corelib/thread/qpromise.qdoc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/thread/qpromise.qdoc b/src/corelib/thread/qpromise.qdoc index f9040d4cd1..a462135d96 100644 --- a/src/corelib/thread/qpromise.qdoc +++ b/src/corelib/thread/qpromise.qdoc @@ -83,7 +83,9 @@ \internal Constructs a QPromise with a passed QFutureInterface \a other. - Used internally for QtConcurrent::runWithPromise. + Used internally for QtConcurrent::run(), when its callable takes + a reference to the associated promise as its first argument + (run with promise mode). \sa operator=() */ |