re-enable opaque widget optimization following Trolltech developer advice (in order to speed up Mac).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15906 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-11-13 17:28:37 +00:00
parent 03522cf7ca
commit 3b91a07daa

View File

@ -170,8 +170,8 @@ GuiWorkArea::GuiWorkArea(int w, int h, int id, LyXView & lyx_view)
setAcceptDrops(true);
setMinimumSize(100, 70);
//viewport()->setAutoFillBackground(false);
//viewport()->setAttribute(Qt::WA_OpaquePaintEvent);
viewport()->setAutoFillBackground(false);
viewport()->setAttribute(Qt::WA_OpaquePaintEvent);
setFocusPolicy(Qt::WheelFocus);
viewport()->setCursor(Qt::IBeamCursor);