From 407d076124d42a1f4911e139ffb2d77a117ef277 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Fri, 11 Feb 2022 17:03:51 +0100 Subject: Remove mentions of QtConcurrent::runWithPromise from docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Jarek Kobus Reviewed-by: Leena Miettinen --- src/corelib/thread/qpromise.qdoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/corelib/thread/qpromise.qdoc') 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=() */ -- cgit v1.2.3