From 72511780ae626e5aea7d635a7aa01dad96976e8d Mon Sep 17 00:00:00 2001 From: Kiwamu Okabe Date: Wed, 2 Sep 2009 09:39:43 +0900 Subject: [PATCH] Search box support InputMethod. --- src/urllineedit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/urllineedit.cpp b/src/urllineedit.cpp index a1064f9..ba298ab 100644 --- a/src/urllineedit.cpp +++ b/src/urllineedit.cpp @@ -179,7 +179,8 @@ void ExLineEdit::keyPressEvent(QKeyEvent *event) bool ExLineEdit::event(QEvent *event) { - if (event->type() == QEvent::ShortcutOverride) + if (event->type() == QEvent::ShortcutOverride || + event->type() == QEvent::InputMethod) m_lineEdit->event(event); return QWidget::event(event); } -- 2.39.5