]> git.lyx.org Git - lyx.git/commitdiff
Disable the pixmap cache for Qt4.1 because of font problems when resizing the window.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 27 Aug 2007 11:13:09 +0000 (11:13 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 27 Aug 2007 11:13:09 +0000 (11:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19830 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/QLPainter.cpp

index b9bbf6a686123209ecbc8fae67ba2227ff00ee8e..d290f48b213244258219bd507a3540c3dbb7ff32 100644 (file)
@@ -31,7 +31,7 @@
 
 // Set USE_PIXMAP_CACHE to 1 for enabling the use of a Pixmap cache when
 // drawing text. This is especially useful for older PPC/Mac systems.
-#ifdef Q_WS_X11
+#if (QT_VERSION < 0x040200) || defined(Q_WS_X11)
 #define USE_PIXMAP_CACHE 0
 #else
 #define USE_PIXMAP_CACHE 1