mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
fix coding style (fix for 3320 and 3652)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18631 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ee6e277e0e
commit
55a07f0e00
@ -424,11 +424,11 @@ void GuiWorkArea::keyPressEvent(QKeyEvent * e)
|
|||||||
// (the auto repeated events come too fast)
|
// (the auto repeated events come too fast)
|
||||||
// \todo FIXME: remove hard coded Qt keys, process the key binding
|
// \todo FIXME: remove hard coded Qt keys, process the key binding
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
if (XEventsQueued(QX11Info::display(), 0) > 1 && e->isAutoRepeat()
|
if (XEventsQueued(QX11Info::display(), 0) > 1 && e->isAutoRepeat()
|
||||||
&& (Qt::Key_PageDown || Qt::Key_PageUp)) {
|
&& (Qt::Key_PageDown || Qt::Key_PageUp)) {
|
||||||
LYXERR(Debug::KEY)
|
LYXERR(Debug::KEY)
|
||||||
<< BOOST_CURRENT_FUNCTION << endl
|
<< BOOST_CURRENT_FUNCTION << endl
|
||||||
<< "sysstem is busy: scroll key event ignored" << endl;
|
<< "system is busy: scroll key event ignored" << endl;
|
||||||
e->ignore();
|
e->ignore();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user