QFuture: remove incorrect sentence from docs
QFuture shouldn't be passed by value: it's a reference counted class ("shared future"). Change-Id: I3890062c45f9a6470b278223b88d482f57bf68a0 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
This commit is contained in:
parent
7f543c6afa
commit
606d72da17
@ -116,9 +116,6 @@
|
||||
the isCanceled(), isStarted(), isFinished(), isRunning(), isSuspending()
|
||||
or isSuspended() functions.
|
||||
|
||||
QFuture is a lightweight reference counted class that can be passed by
|
||||
value.
|
||||
|
||||
QFuture<void> is specialized to not contain any of the result fetching
|
||||
functions. Any QFuture<T> can be assigned or copied into a QFuture<void>
|
||||
as well. This is useful if only status or progress information is needed
|
||||
|
Loading…
Reference in New Issue
Block a user