Doc: Fix \fn template arguments for Qt Concurrent

Upcoming changes to QDoc require accurate definition for
template arguments in \fn commands.

Task-number: QTBUG-118080
Change-Id: Ia905211d2b2bc5b49e5f9b50f2407544e939779d
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
This commit is contained in:
Topi Reinio 2023-11-03 13:12:01 +00:00 committed by Luca Di Sera
parent fbef159a05
commit f1414846ed

View File

@ -224,7 +224,7 @@
*/ */
/*! /*!
\fn QFuture<T> QtConcurrent::run(Function function, ...); \fn template <typename T> QFuture<T> QtConcurrent::run(Function function, ...);
Equivalent to Equivalent to
\code \code
@ -261,7 +261,7 @@
/*! /*!
\since 5.4 \since 5.4
\fn QFuture<T> QtConcurrent::run(QThreadPool *pool, Function function, ...); \fn template <typename T> QFuture<T> QtConcurrent::run(QThreadPool *pool, Function function, ...);
Schedules \a function on \a pool. Note that \a function may not run Schedules \a function on \a pool. Note that \a function may not run
immediately; \a function will only be run once a thread becomes available. immediately; \a function will only be run once a thread becomes available.