From 30792f994ef7addf195663ee786ad8082f7d635d Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Mon, 19 Apr 2010 19:55:15 +0000 Subject: [PATCH] QThreadPool was introduced in Qt 4.4 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34221 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiApplication.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index b61a1b5038..8082927884 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -104,7 +104,7 @@ #include #include #include -#if QT_VERSION >= 0x040300 +#if QT_VERSION >= 0x040400 #include #endif #include @@ -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. -- 2.39.2