Re: [Development] QLocale changed?

2015-11-26 Thread Knoll Lars
Its a behavioural change, after we got quite a few bug reports about this 
behaviour (being inconsistent with what people expect). See change 
3695285fde904935fc2e88010dac171144e8677a and the bug reports mentioned in there.

Cheers,
Lars




On 26/11/15 09:39, "Development on behalf of David Faure" 
 wrote:

>This:
>
>QCOMPARE(QLocale::c().toString(1234.0, 'f', 0), QString("1,234"));
>
>was the behavior until Qt 5.5
>
>With Qt 5.6, this happens:
>
>   Actual   (QLocale::c().toString(1234.0, 'f', 0)): "1234"
>   Expected (QString("1,234")) : "1,234"
>
>Is this an expected change?
>
>-- 
>David Faure, fa...@kde.org, http://www.davidfaure.fr
>Working on KDE Frameworks 5
>
>___
>Development mailing list
>Development@qt-project.org
>http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] QLocale changed?

2015-11-26 Thread David Faure
This:

QCOMPARE(QLocale::c().toString(1234.0, 'f', 0), QString("1,234"));

was the behavior until Qt 5.5

With Qt 5.6, this happens:

   Actual   (QLocale::c().toString(1234.0, 'f', 0)): "1234"
   Expected (QString("1,234")) : "1,234"

Is this an expected change?

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development