GuiWorkArea::inputMethodEvent(): remove unneeded Qt::KeyboardModifiers construction and add a FIXME.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14803 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-08-18 09:25:45 +00:00
parent a2d2d0c997
commit 4237016770

View File

@ -571,8 +571,10 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e)
// ideally, such special coding should not be necessary
if (text == "^")
key = Qt::Key_AsciiCircum;
// FIXME: Needs for investigation, this key is not really used,
// the ctor below just check if key is different from 0.
QKeyEvent ev(QEvent::KeyPress, key,
Qt::KeyboardModifiers(Qt::NoModifier), text);
Qt::NoModifier, text);
keyPressEvent(&ev);
}
e->accept();