QString: Make convert to number methods only use C locale
authorJohn Layt <jlayt@kde.org>
Sun, 22 Jan 2012 21:23:50 +0000 (21:23 +0000)
committerQt by Nokia <qt-info@nokia.com>
Sun, 5 Feb 2012 16:49:42 +0000 (17:49 +0100)
commit1e3833bed8a661ee8ae284188a23bd0ffc3bed85
tree3731cf72c2f2b70ab48703130206b2e5f442e6d4
parent96501b0a18f4f70048403dccc4cb42dd71db8f9d
QString: Make convert to number methods only use C locale

Ensure consistent conversions by not using the system default locale.

Change-Id: I60db9fc4f465c0254f3213419e57d7879aaddd65
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
dist/changes-5.0.0
doc/src/snippets/qstring/main.cpp
src/corelib/tools/qstring.cpp
tests/auto/corelib/tools/qstring/tst_qstring.cpp