summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-10-02 09:40:23 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-10-02 09:59:24 +0200
commit686330063c26fc6ebe65c7374811c94e9680c2c0 (patch)
tree58d827fcee252066a69e69a514c052f7c68adda7 /dist
parentefb8e5a070094a064bdeb8bcd8faf87bfd844093 (diff)
Add comment to changes file about behavioral change in QDataStream
Refers to change 5170432e7cb2d0d1adf7ac2ec1ece627c75470f3 where QDataStream was altered to stream all floating point numbers with the same precision. Reviewed-by: Samuel
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-4.6.08
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/changes-4.6.0 b/dist/changes-4.6.0
index f9984d379d..2e7e699529 100644
--- a/dist/changes-4.6.0
+++ b/dist/changes-4.6.0
@@ -126,3 +126,11 @@ information about a particular change.
means that code that assigned a float to a variant would create a
variant with userType QMetaType::Float, instead of QVariant::Double.
+ - QDataStream will now read and write all floating point numbers with the
+ same precision, regardless of whether it's streamed into or out from a
+ float or double. This is to maintain compatibility across platforms with
+ a different default precision for qreal. The default is 64-bit precision
+ for all floating point numbers, and this can be changed using the new
+ function setFloatingPointPrecision(). Set Qt_4_5 as the version of the
+ QDataStream to get the behavior of previous versions.
+ \ No newline at end of file