summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.0.0
diff options
context:
space:
mode:
authorJohn Layt <jlayt@kde.org>2012-01-22 21:23:50 +0000
committerQt by Nokia <qt-info@nokia.com>2012-02-05 17:49:42 +0100
commit1e3833bed8a661ee8ae284188a23bd0ffc3bed85 (patch)
tree3731cf72c2f2b70ab48703130206b2e5f442e6d4 /dist/changes-5.0.0
parent96501b0a18f4f70048403dccc4cb42dd71db8f9d (diff)
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>
Diffstat (limited to 'dist/changes-5.0.0')
-rw-r--r--dist/changes-5.0.06
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index e5f57732ba..ea88471990 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -240,6 +240,12 @@ QtCore
now return an empty QString, QStringRef or QByteArray respectively.
in Qt 4 they returned a null QString or a null QStringRef.
+* QString methods toLongLong(), toULongLong(), toLong(), toULong(), toInt(),
+ toUInt(), toShort(), toUShort(), toDouble(), and toFloat() no longer use the
+ default or system locale, they will always use the C locale. This is to
+ guarantee consistent default conversion of strings. For locale-aware conversions
+ use the equivalent QLocale methods.
+
* QDate, QTime, and QDateTime have undergone important behavioural changes:
* QDate only implements the Gregorian calendar, the switch to the Julian
calendar before 1582 has been removed. This means all QDate methods will