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

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/lib [POSSIBLY UNSAFE]
From:       Andrew Manson <g.real.ate () gmail ! com>
Date:       2009-06-13 17:05:50
Message-ID: 1244912750.289518.17899.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 981576 by mansona:

backporting r981574 from gsoc branch. making the number string
use the system locale in the gps interface.



 M  +1 -1      MarbleControlBox.cpp   [POSSIBLY UNSAFE: system]


--- trunk/KDE/kdeedu/marble/src/lib/MarbleControlBox.cpp #981575:981576
@@ -498,7 +498,7 @@
             break;
         }
         // TODO read this value from the incoming signal
-        speedString = QString::number(unitSpeed, 'f', 1);
+        speedString = QLocale::system().toString( unitSpeed, 'f', 1);
 
         d->uiWidget.speedLabel->setText( speedString.rightJustified(5) + " " + unitString );
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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