]> git.lyx.org Git - features.git/commitdiff
small cleanup: delete two unneeded lines of code.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 29 Aug 2006 09:08:51 +0000 (09:08 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 29 Aug 2006 09:08:51 +0000 (09:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14850 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.C

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