mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
84ce8a0882
commit
e62684db34
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user