Fix crash when closing a second lyx window due to a recursive painting (QT4.4 issue). This code was not needed anyway.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25233 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-06-12 13:04:59 +00:00
parent dc4f254726
commit 1494e0a687

View File

@ -658,11 +658,6 @@ void GuiWorkArea::focusInEvent(QFocusEvent * e)
if (lyx_view_->currentWorkArea() != this)
lyx_view_->setCurrentWorkArea(this);
// Repaint the whole screen.
// Note: this is different from redraw() as only the backing pixmap
// will be redrawn, which is cheap.
viewport()->repaint();
startBlinkingCursor();
QAbstractScrollArea::focusInEvent(e);
}