]> git.lyx.org Git - features.git/commitdiff
remove the focusInEvent() and focusOutEvent() that had so many bad side effect...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 11 Oct 2006 13:01:12 +0000 (13:01 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 11 Oct 2006 13:01:12 +0000 (13:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15297 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.C
src/frontends/qt4/GuiWorkArea.h

index dfbf30fbca6fe50b2bd944cbd47cb096678461b9..054bfad643d1e2de2c3615d8628045944177fd1c 100644 (file)
@@ -578,20 +578,6 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e)
        e->accept();
 }
 
-
-void GuiWorkArea::focusInEvent(QFocusEvent * ev)
-{
-       QAbstractScrollArea::focusInEvent(ev);
-       lyx_view_.updateToolbars();
-}
-
-
-void GuiWorkArea::focusOutEvent(QFocusEvent * ev)
-{
-       QAbstractScrollArea::focusOutEvent(ev);
-       lyx_view_.updateToolbars();
-}
-
 } // namespace frontend
 } // namespace lyx
 
index c6ebce0b6867f7b9b7a4e3f891b26909c030e56a..2f96ff7a6c448a96581087c54dd23bdf85d11e34 100644 (file)
@@ -160,10 +160,6 @@ protected:
        void keyPressEvent(QKeyEvent * e);
        /// IM events
        void inputMethodEvent(QInputMethodEvent * e);
-       /// focus in
-       void focusInEvent(QFocusEvent * ev);
-       /// focus out
-       void focusOutEvent(QFocusEvent * ev);
 
 public Q_SLOTS: