From 070b183dbc025105f8d9aab44e4d5866686b653c Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 20 Oct 2014 16:49:31 +0200 Subject: Doc: removed reference to obsolete classes QSocket and QSocketDevice are not part of Qt 5.4 Task-number: QTBUG-40362 Change-Id: Ieffd992c203af94cac0eb21a630b6ac98754f358 Reviewed-by: Mitch Curtis --- src/corelib/io/qdatastream.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/corelib/io') diff --git a/src/corelib/io/qdatastream.cpp b/src/corelib/io/qdatastream.cpp index 49526ea2d5..beaafe4762 100644 --- a/src/corelib/io/qdatastream.cpp +++ b/src/corelib/io/qdatastream.cpp @@ -261,12 +261,6 @@ QDataStream::QDataStream() /*! Constructs a data stream that uses the I/O device \a d. - \warning If you use QSocket or QSocketDevice as the I/O device \a d - for reading data, you must make sure that enough data is available - on the socket for the operation to successfully proceed; - QDataStream does not have any means to handle or recover from - short-reads. - \sa setDevice(), device() */ -- cgit v1.2.3