[uim-commit] r452 - trunk/qt/uim-kdehelper/src/pref

kzk at freedesktop.org kzk at freedesktop.org
Mon Jan 31 22:06:18 PST 2005


Author: kzk
Date: 2005-01-31 22:06:15 -0800 (Mon, 31 Jan 2005)
New Revision: 452

Modified:
   trunk/qt/uim-kdehelper/src/pref/customwidgets.cpp
Log:
* uim-kdehelper/src/pref/customwidgets.cpp
  - (KeyGrabForm::keyPressEvent): handle F%d key correctly


Modified: trunk/qt/uim-kdehelper/src/pref/customwidgets.cpp
===================================================================
--- trunk/qt/uim-kdehelper/src/pref/customwidgets.cpp	2005-02-01 06:01:06 UTC (rev 451)
+++ trunk/qt/uim-kdehelper/src/pref/customwidgets.cpp	2005-02-01 06:06:15 UTC (rev 452)
@@ -946,7 +946,7 @@
         if( Qt::Key_F1 <= qkey && qkey <= Qt::Key_F35 ) {
             int n = qkey - Qt::Key_F1 + 1;
             editString.append( "F" );
-            editString.append( n );
+            editString.append( QString::number( n ) );
         }
         else if( isascii( qkey ) )
         {



More information about the Uim-commit mailing list