From: Abdelrazak Younes Date: Thu, 17 Aug 2006 12:39:11 +0000 (+0000) Subject: GuiWorkArea::inputMethodEvent(QInputMethodEvent * e): X-Git-Tag: 1.6.10~12729 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=440c6343776d9360151f26ee202a09e0416a9577;p=features.git GuiWorkArea::inputMethodEvent(QInputMethodEvent * e): compile fix and use of the proper QKeyEvent prototype. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14782 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiWorkArea.C b/src/frontends/qt4/GuiWorkArea.C index 2a99b15041..bd0b165bcf 100644 --- a/src/frontends/qt4/GuiWorkArea.C +++ b/src/frontends/qt4/GuiWorkArea.C @@ -593,7 +593,8 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e) // ideally, such special coding should not be necessary if (text == "^") key = Qt::Key_AsciiCircum; - QKeyEvent ev(QEvent::KeyPress, key, 0, text); + QKeyEvent ev(QEvent::KeyPress, key, + Qt::KeyboardModifiers(Qt::NoModifier), text); keyPressEvent(&ev); } e->accept();