summaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/fetchmore/filelistmodel.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2021-04-21 17:51:01 -0700
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-04-24 03:28:23 +0000
commitcd3ce03705e32f2d1bd566fc6ad9ae215cff56b7 (patch)
tree3173ed6f2bc777660c3a6d563a2874d0d3052730 /examples/widgets/itemviews/fetchmore/filelistmodel.h
parentb484b56922b447afbfb8744a34bd20131cb98a1c (diff)
QThreadPool: obey the docs that say we always use at least 1 thread
Even if the user (usually accidentally) sets a thread count of zero or negative. The reporter in the bug report did QThread::idealThreadCount() - 1 on a 1 CPU system... Drive-by add to the documentation and the missing #include. Fixes: QTBUG-93007 Change-Id: I6cdea00671e8479b9c50fffd167807d14e030154 Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> (cherry picked from commit 885eff053797d56f2e295558d0a71b030fbb1a69) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/widgets/itemviews/fetchmore/filelistmodel.h')
0 files changed, 0 insertions, 0 deletions