mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
03522cf7ca
commit
3b91a07daa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user