]> git.lyx.org Git - features.git/commitdiff
GuiWorkArea::inputMethodEvent(): remove unneeded Qt::KeyboardModifiers construction...
authorAbdelrazak Younes <younes@lyx.org>
Fri, 18 Aug 2006 09:25:45 +0000 (09:25 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 18 Aug 2006 09:25:45 +0000 (09:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14803 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.C

index 301f139816b61356320a41cef07635561a10f0a7..7ea3ae0e098b3bf4863dee29d5e7384cfcaba320 100644 (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();