mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19585 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
da48080cc7
commit
4d8c291cd0
@ -717,25 +717,25 @@ void GuiView::moveEvent(QMoveEvent *)
|
||||
|
||||
bool GuiView::event(QEvent * e)
|
||||
{
|
||||
// Useful debug code:
|
||||
/*
|
||||
switch (e->type())
|
||||
{
|
||||
case QEvent::WindowActivate:
|
||||
case QEvent::ActivationChange:
|
||||
case QEvent::WindowDeactivate:
|
||||
case QEvent::Paint:
|
||||
case QEvent::Enter:
|
||||
case QEvent::Leave:
|
||||
case QEvent::HoverEnter:
|
||||
case QEvent::HoverLeave:
|
||||
case QEvent::HoverMove:
|
||||
case QEvent::StatusTip:
|
||||
break;
|
||||
default:
|
||||
*/
|
||||
// Useful debug code:
|
||||
//case QEvent::WindowActivate:
|
||||
//case QEvent::ActivationChange:
|
||||
//case QEvent::WindowDeactivate:
|
||||
//case QEvent::Paint:
|
||||
//case QEvent::Enter:
|
||||
//case QEvent::Leave:
|
||||
//case QEvent::HoverEnter:
|
||||
//case QEvent::HoverLeave:
|
||||
//case QEvent::HoverMove:
|
||||
//case QEvent::StatusTip:
|
||||
//case QEvent::DragEnter:
|
||||
//case QEvent::DragLeave:
|
||||
//case QEvent::Drop:
|
||||
// break;
|
||||
|
||||
if (e->type() == QEvent::ShortcutOverride) {
|
||||
case QEvent::ShortcutOverride: {
|
||||
QKeyEvent * ke = static_cast<QKeyEvent*>(e);
|
||||
if (ke->key() == Qt::Key_Tab || ke->key() == Qt::Key_Backtab) {
|
||||
boost::shared_ptr<QKeySymbol> sym(new QKeySymbol);
|
||||
@ -746,9 +746,9 @@ bool GuiView::event(QEvent * e)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
//} for the debug switch above.
|
||||
|
||||
return QMainWindow::event(e);
|
||||
default:
|
||||
return QMainWindow::event(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user