Fix documentation of QThreadPool::stackSize

Fix warning
qthreadpool.h:61: warning: No documentation for 'QThreadPool::stackSize'

Amends e44ff19783.

Change-Id: I060de623b2befcc55846e1827b9cd58aacf3a3c0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
Friedemann Kleint 2017-08-28 10:09:27 +02:00
parent 40fe5d43fd
commit dca1423fc9

View File

@ -606,17 +606,19 @@ void QThreadPool::reserveThread()
++d->reservedThreads; ++d->reservedThreads;
} }
/*! \property QThreadPool::stacksize /*! \property QThreadPool::stackSize
This property contains the stack size for the thread pool worker This property contains the stack size for the thread pool worker
threads. threads.
The value of the property is uses when the thread pool creates The value of the property is only used when the thread pool creates
new threads only. Changing it has no effect for already created new threads. Changing it has no effect for already created
or running threads. or running threads.
The default value is 0, which makes QThread use the operating The default value is 0, which makes QThread use the operating
system default stack stize. system default stack size.
\since 5.10
*/ */
void QThreadPool::setStackSize(uint stackSize) void QThreadPool::setStackSize(uint stackSize)
{ {