From: Abdelrazak Younes Date: Fri, 18 Aug 2006 09:25:45 +0000 (+0000) Subject: GuiWorkArea::inputMethodEvent(): remove unneeded Qt::KeyboardModifiers construction... X-Git-Tag: 1.6.10~12719 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4237016770b7b5c9aaff25ad243c1caf3073fc35;p=features.git 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 --- 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();