summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-08 08:43:42 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-08 08:43:42 (GMT)
commita26e4a2e103608151c63cc11a2d7578cf1d080a3 (patch)
tree2ad27f1747c18bacfa2babe5b7b2ef9c65e3c83e
parent184e36cfb62a50bba74d2563ca3284e64b610d40 (diff)
downloadQt-a26e4a2e103608151c63cc11a2d7578cf1d080a3.zip
Qt-a26e4a2e103608151c63cc11a2d7578cf1d080a3.tar.gz
Qt-a26e4a2e103608151c63cc11a2d7578cf1d080a3.tar.bz2
Revert "Added comment to QTextStream - clarification of the documentation"
This reverts commit da1416cef6b1d24156739ded101df895ee4e80d9.
-rw-r--r--src/corelib/io/qtextstream.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/io/qtextstream.cpp b/src/corelib/io/qtextstream.cpp
index 2010008..ed9d0aa 100644
--- a/src/corelib/io/qtextstream.cpp
+++ b/src/corelib/io/qtextstream.cpp
@@ -67,8 +67,7 @@ static const int QTEXTSTREAM_BUFFERSIZE = 16384;
\snippet doc/src/snippets/code/src_corelib_io_qtextstream.cpp 1
Note that you cannot use QTextStream::atEnd(), which returns true when you
- have reached the end of the data stream, with stdin because as long as the
- application is running, stdin has no end.
+ have reached the end of the data stream, with stdin.
Besides using QTextStream's constructors, you can also set the
device or string QTextStream operates on by calling setDevice() or