]> git.lyx.org Git - lyx.git/commitdiff
Fix crash when closing a second lyx window due to a recursive painting (QT4.4 issue...
authorAbdelrazak Younes <younes@lyx.org>
Thu, 12 Jun 2008 13:04:59 +0000 (13:04 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 12 Jun 2008 13:04:59 +0000 (13:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25233 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index d7d597021cfae7c4d4c3ca1b028f922e62dbab89..d87222c5c96169e84fbe976139a1c113c19f22c7 100644 (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);
 }