From 4237016770b7b5c9aaff25ad243c1caf3073fc35 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 18 Aug 2006 09:25:45 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiWorkArea.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiWorkArea.C b/src/frontends/qt4/GuiWorkArea.C index 301f139816..7ea3ae0e09 100644 --- a/src/frontends/qt4/GuiWorkArea.C +++ b/src/frontends/qt4/GuiWorkArea.C @@ -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();