[uim-commit] r2554 - in branches/1.0: . qt

ekato at freedesktop.org ekato at freedesktop.org
Mon Dec 12 18:59:05 PST 2005


Author: ekato
Date: 2005-12-12 18:59:00 -0800 (Mon, 12 Dec 2005)
New Revision: 2554

Modified:
   branches/1.0/NEWS
   branches/1.0/qt/pref-customwidgets.cpp
Log:
* qt/pref-customwidgets.cpp
* NEWS
  - Port r2552, 2553 from trunk.


Modified: branches/1.0/NEWS
===================================================================
--- branches/1.0/NEWS	2005-12-13 02:55:08 UTC (rev 2553)
+++ branches/1.0/NEWS	2005-12-13 02:59:00 UTC (rev 2554)
@@ -1,6 +1,11 @@
 Overview of changes from 1.0.0-alpha to 1.0.0-beta
 ==
 * Fixes
+ o Critical
+    - uim-pref-qt
+      - fix custom setting with integer number whose value is greater
+	than 99 (Etsushi)
+
  o Minor
     - update configure script not to require XML::Parser (Etsushi)
     - Qt immodule

Modified: branches/1.0/qt/pref-customwidgets.cpp
===================================================================
--- branches/1.0/qt/pref-customwidgets.cpp	2005-12-13 02:55:08 UTC (rev 2553)
+++ branches/1.0/qt/pref-customwidgets.cpp	2005-12-13 02:59:00 UTC (rev 2554)
@@ -80,7 +80,7 @@
 
 //----------------------------------------------------------------------------------------
 CustomSpinBox::CustomSpinBox( struct uim_custom *c, QWidget *parent, const char *name)
-    : QSpinBox( parent, name ),
+    : QSpinBox(c->range->as_int.min, c->range->as_int.max, 1, parent, name ),
       UimCustomItemIface( c )
 {
     QObject::connect( this, SIGNAL(valueChanged(int)),



More information about the uim-commit mailing list