small cleanup: delete two unneeded lines of code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14850 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-08-29 09:08:51 +00:00
parent 16b150e6bf
commit 72a680e261

View File

@ -129,9 +129,6 @@ GuiWorkArea::GuiWorkArea(int w, int h, LyXView & lyx_view)
viewport()->setAutoFillBackground(false); viewport()->setAutoFillBackground(false);
viewport()->setAttribute(Qt::WA_OpaquePaintEvent); viewport()->setAttribute(Qt::WA_OpaquePaintEvent);
viewport()->setFocusPolicy(Qt::WheelFocus);
viewport()->setFocus();
setFocusPolicy(Qt::WheelFocus); setFocusPolicy(Qt::WheelFocus);
viewport()->setCursor(Qt::IBeamCursor); viewport()->setCursor(Qt::IBeamCursor);