Revision: 6180
Author: nogu.dev
Date: Sat Feb 27 15:03:50 2010
Log: * qt4/candwin/qt4.cpp
  - (CandidateWindow::setIndex): Remove unneeded cast.
http://code.google.com/p/uim/source/detail?r=6180

Modified:
 /trunk/qt4/candwin/qt4.cpp

=======================================
--- /trunk/qt4/candwin/qt4.cpp  Sat Feb 27 15:03:27 2010
+++ /trunk/qt4/candwin/qt4.cpp  Sat Feb 27 15:03:50 2010
@@ -554,7 +554,7 @@
     // set page
     int newpage = 0;
     if ( displayLimit )
-        newpage = ( int ) candidateIndex / displayLimit;
+        newpage = candidateIndex / displayLimit;
     if ( pageIndex != newpage )
         setPage( newpage );

Reply via email to