summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-05 11:04:24 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-05 11:04:24 (GMT)
commit4d33c51bf00be826b8036f58cd9aea0c1f44f8ce (patch)
tree99339183e160058b996580157d8ed89bd6809562 /dist
parentbadcaa75b4a5e5dfbb85f5abf856abcfcfa20533 (diff)
parentb0e6c5ca48c76fb17dca986e9e07adebde390e29 (diff)
downloadQt-4d33c51bf00be826b8036f58cd9aea0c1f44f8ce.zip
Qt-4d33c51bf00be826b8036f58cd9aea0c1f44f8ce.tar.gz
Qt-4d33c51bf00be826b8036f58cd9aea0c1f44f8ce.tar.bz2
Merge branch '4.6'
Conflicts: src/corelib/io/qdatastream.h tools/assistant/translations/translations_adp.pro tools/qdoc3/test/qt-build-docs.qdocconf tools/qdoc3/test/qt-inc.qdocconf tools/qdoc3/test/qt.qdocconf translations/assistant_adp_de.ts
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 f9984d3..2e7e699 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