• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A multilingual input method framework


Commit MetaInfo

Revisionae727050539f4e39eb88cacd179efc3aa3f05e03 (tree)
Time2006-06-06 18:44:27
Authorekato <ekato@ff9a...>
Commiterekato

Log Message

* Merge r3562:3565 from trunk.

Change Summary

Incremental Difference

--- a/qt/immodule-quiminputcontext_with_slave.cpp
+++ b/qt/immodule-quiminputcontext_with_slave.cpp
@@ -91,12 +91,23 @@ void QUimInputContextWithSlave::setHolderWidget( QWidget *w )
9191
9292 bool QUimInputContextWithSlave::filterEvent( const QEvent *event )
9393 {
94+#if 0
9495 // when isComposing==false, event is forwarded to slave ic
9596 if ( ! isComposing() && slave && slave->filterEvent( event ) )
9697 return true;
9798
9899 // else, event is dealt with uim-qt
99100 return QUimInputContext::filterEvent( event );
101+#else
102+ if ( ! QUimInputContext::filterEvent( event ) ) {
103+ if ( ! isComposing() && slave && slave->filterEvent( event ) )
104+ return true;
105+ else
106+ return false;
107+ }
108+
109+ return true;
110+#endif
100111 }
101112
102113 void QUimInputContextWithSlave::destroyInputContext()