summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrenttask.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/concurrent/qtconcurrenttask.qdoc')
-rw-r--r--src/concurrent/qtconcurrenttask.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/concurrent/qtconcurrenttask.qdoc b/src/concurrent/qtconcurrenttask.qdoc
index e25e485bd1..9000b424fe 100644
--- a/src/concurrent/qtconcurrenttask.qdoc
+++ b/src/concurrent/qtconcurrenttask.qdoc
@@ -143,6 +143,11 @@
You can set the priority for a task:
\snippet code/src_concurrent_qtconcurrenttask.cpp 10
+
+ If you don't need a future object, you can call
+ QtConcurrent::QTaskBuilder::spawn(QtConcurrent::FutureResult::Ignore):
+
+ \snippet code/src_concurrent_qtconcurrenttask.cpp 11
*/
/*!