mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
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:
parent
4803b5be6c
commit
68ee23313a
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user