]> git.lyx.org Git - features.git/commitdiff
enable the font width cache for Windows also, it saves three seconds on the UserGuide...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 4 Oct 2006 12:43:13 +0000 (12:43 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 4 Oct 2006 12:43:13 +0000 (12:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15235 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiFontLoader.h

index 566b7d44631f28aaaec2dc4e35dc2b7fcb64c65d..d526ff3ef1c8900c3de49a2fc0bee72ac84a7718 100644 (file)
@@ -22,7 +22,7 @@
 
 // Starting with version 3.1.0, Qt/X11 does its own caching of
 // character width, so it is not necessary to provide ours.
-#if defined(Q_WS_MACX)
+#if defined(Q_WS_MACX) || defined(Q_WS_WIN32)
 #define USE_LYX_FONTCACHE
 #include <map>
 #endif