mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
QThreadPool was introduced in Qt 4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34221 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0b92e538d9
commit
30792f994e
@ -104,7 +104,7 @@
|
||||
#include <QTextCodec>
|
||||
#include <QTimer>
|
||||
#include <QTranslator>
|
||||
#if QT_VERSION >= 0x040300
|
||||
#if QT_VERSION >= 0x040400
|
||||
#include <QThreadPool>
|
||||
#endif
|
||||
#include <QWidget>
|
||||
@ -824,7 +824,7 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
|
||||
this, SLOT(handleRegularEvents()));
|
||||
d->general_timer_.start();
|
||||
|
||||
#if QT_VERSION >= 0x040300
|
||||
#if QT_VERSION >= 0x040400
|
||||
// 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.
|
||||
|
Loading…
Reference in New Issue
Block a user