path: root/dist
diff options
authorJohn Layt <>2012-01-27 19:04:42 +0000
committerQt by Nokia <>2012-02-05 17:49:56 +0100
commit29c4a27a94d6f0dc9d91227d99bab7c2f55710db (patch)
treecd66bb046981558a18d999770df90201b3cb946a /dist
parent1e3833bed8a661ee8ae284188a23bd0ffc3bed85 (diff)
SIC: QLocale: Remove base argument from conversion to number api
As discussed on list and approved by Lars and Thiago. Remove the option to use QLocale to convert strings to non-decimal numbers as they are not localised and the api is available in QString. Change-Id: Ib810505ba86fb08ad23571b39f1520e86fde6787 Reviewed-by: Lars Knoll <> Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'dist')
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index ea88471990..9df39260a6 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -193,6 +193,11 @@ information about a particular change.
- QDir::NoDotAndDotDot is QDir::NoDot|QDir::NoDotDot therefore there is no need
to use or check both.
+- QLocale
+ * toShort(), toUShort(), toInt(), toUInt(), toLongLong() and toULongLong() no
+ longer take a parameter for base, they will only perform localised base 10
+ conversions. For converting other bases use the QString methods instead.
* General *