disable pixmap cache under X11

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19616 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-08-17 07:14:03 +00:00
parent 84ce8a0882
commit e62684db34

View File

@ -29,9 +29,13 @@
#include <QPixmapCache>
#include <QTextLayout>
// Set this to one for enabling the use of a Pixmap cache when drawing
// text. This is especially useful for older PPC/Mac systems.
// 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
#define USE_PIXMAP_CACHE 0
#else
#define USE_PIXMAP_CACHE 1
#endif
using std::endl;
using std::string;