From: Kiwamu Okabe Date: Wed, 2 Sep 2009 00:39:43 +0000 (+0900) Subject: Search box support InputMethod. X-Git-Tag: 0.6~5^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72511780ae626e5aea7d635a7aa01dad96976e8d;p=minitube Search box support InputMethod. --- 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); }