diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-04-20 16:52:45 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-20 22:23:23 +0200 |
commit | 369863efefb3b63859b9de48915f5f3da65be76a (patch) | |
tree | a93721dd764c825487705637199ec2adb830a654 /src/corelib/io/qdatastream.cpp | |
parent | fffc900f78a191970c4eebced9c1af016a9ea6f4 (diff) |
Don't push unnecessary data to a data stream for QVariant()
Adjust the test because we don't read past the end anymore.
Task-number: QTBUG-25108
Change-Id: I8243f1d5ae79d1256aab2cb1132598a716a7eeeb
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/corelib/io/qdatastream.cpp')
-rw-r--r-- | src/corelib/io/qdatastream.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/io/qdatastream.cpp b/src/corelib/io/qdatastream.cpp index 559c5a0743..0a49189310 100644 --- a/src/corelib/io/qdatastream.cpp +++ b/src/corelib/io/qdatastream.cpp @@ -253,9 +253,6 @@ enum { DefaultStreamVersion = QDataStream::Qt_5_0 }; -// ### 5.0: when streaming invalid QVariants, just the type should -// be written, no "data" after it - /*! Constructs a data stream that has no I/O device. |