Revision: 6422
Author: nogu.dev
Date: Sat Jun 5 16:53:47 2010
Log: * qt4/immodule/plugin.cpp
- (UimInputContextPlugin::displayName):
Remove language name from display name.
languages( key ) [ 0 ] always returns "ja"
even when the current IM is a Chinese one
and it is not so useful to display the language of the current IM.
http://code.google.com/p/uim/source/detail?r=6422
Modified:
/trunk/qt4/immodule/plugin.cpp
=======================================
--- /trunk/qt4/immodule/plugin.cpp Sat Jun 5 16:14:58 2010
+++ /trunk/qt4/immodule/plugin.cpp Sat Jun 5 16:53:47 2010
@@ -91,7 +91,7 @@
QString UimInputContextPlugin::displayName( const QString & key )
{
- return QString( key ) + " (" + languages( key ) [ 0 ] + ')';
+ return key;
}
QString UimInputContextPlugin::description( const QString & key )