remove the focusInEvent() and focusOutEvent() that had so many bad side effect...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15297 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-10-11 13:01:12 +00:00
parent 4803b5be6c
commit 68ee23313a
2 changed files with 0 additions and 18 deletions

View 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

View 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: