From 737abd7f4f3677fbd7c71d7a7e2901065d991190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sat, 27 Nov 2010 22:09:08 +0000 Subject: [PATCH] fix localisation... svn path=/trunk/KDE/kdebase/workspace/; revision=1201490 --- options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/options.cpp b/options.cpp index ae3e8db4c6..367ca61a32 100644 --- a/options.cpp +++ b/options.cpp @@ -30,6 +30,7 @@ along with this program. If not, see . #include #include #include +#include #include @@ -65,7 +66,7 @@ int currentRefreshRate() { QString reply = QString::fromLocal8Bit( nvidia_settings.readAllStandardOutput() ); bool ok; - rate = reply.split(' ').first().split(',').first().toUInt( &ok ); + rate = reply.split(' ').first().split(KGlobal::locale()->decimalSymbol()).first().toUInt( &ok ); if ( !ok ) rate = -1; }