[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/info
From:       Hans Petter Bieker <bieker () kde ! org>
Date:       2002-12-28 21:52:26
[Download RAW message or body]

CVS commit by bieker: 

Use KLocale::formatNumber().


  M +3 -2      info.cpp   1.57


--- kdebase/kcontrol/info/info.cpp  #1.56:1.57
@@ -74,5 +74,6 @@ static bool	sorting_allowed;	/* is sorti
 
 static QString Value( int val, int numbers=1 )
-{       return QString("%1").arg(val,numbers);
+{
+  return KGlobal::locale()->formatNumber(val, 0).rightJustify(numbers);
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic