From 440c6343776d9360151f26ee202a09e0416a9577 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 17 Aug 2006 12:39:11 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiWorkArea.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.39.2