]> git.sur5r.net Git - minitube/commitdiff
Search box support InputMethod.
authorKiwamu Okabe <kiwamu@gmail.com>
Wed, 2 Sep 2009 00:39:43 +0000 (09:39 +0900)
committerKiwamu Okabe <kiwamu@gmail.com>
Wed, 2 Sep 2009 00:39:43 +0000 (09:39 +0900)
src/urllineedit.cpp

index a1064f964aa5eacf8284133db6d7f5798c29e21b..ba298ab30ccdf216aca6e19f612a6c8d02247ea4 100644 (file)
@@ -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);
 }