fix scrolling bug: 3320 and 3652, maybe not perfect

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18630 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-06-02 08:01:12 +00:00
parent d582d487ff
commit ee6e277e0e

View File

@ -422,7 +422,7 @@ void GuiWorkArea::keyPressEvent(QKeyEvent * e)
{
// do nothing if there are other events
// (the auto repeated events come too fast)
// \todo FIXME: remove hard coded Qt keysprocess the key binding
// \todo FIXME: remove hard coded Qt keys, process the key binding
#ifdef Q_WS_X11
if (XEventsQueued(QX11Info::display(), 0) > 1 && e->isAutoRepeat()
&& (Qt::Key_PageDown || Qt::Key_PageUp)) {