On 24 Jan 2012 00:23, "John Layt" <jl...@kde.org> wrote:
>
> On Monday 23 Jan 2012 22:48:12 lars.kn...@nokia.com wrote:
>
> > I am very tempted to simply break this. localized binary numbers simply
> > don't make any sense.
> >
> > Cheers,
> > Lars
>
> Agreed it makes no sense.
>
> My initial thought was just to move the code to say QString/QByteArray and
> make it hard-coded C locale, i.e. not using QLocale, until I found that
> QLocale needs it too.  If we remove the API from QLocale then this would
be an
> option, just QTextStreamPrivate::putNumber() would need a little thought.
>
> John.

Note also that in QLocale it is only the toInt() etc methods that provide
the base option, the toString() methods do not. In the other classes it
goes both ways.

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

Reply via email to