]> git.lyx.org Git - features.git/commit
Fix potential bug affecting export and preview with threads.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 18 Mar 2010 12:42:34 +0000 (12:42 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 18 Mar 2010 12:42:34 +0000 (12:42 +0000)
commit44fb52d1a2ef1133021181e9cb7db8e8121602c4
treed33c5d528176eba335966f4c357a8747405611ab
parenta0aabe4ed94320f51dbeaa867d72554d5b3ece6d
Fix potential bug affecting export and preview with threads.

QThreadPool::maxThreadCount() defaults in general to 2 on single or
dual-processor. This is clearly not enough in a time where we use
threads for document preview and/or export. 20 should be OK.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33790 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiApplication.cpp