summaryrefslogtreecommitdiffstats
path: root/qtools/qiodevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qiodevice.cpp')
-rw-r--r--qtools/qiodevice.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/qtools/qiodevice.cpp b/qtools/qiodevice.cpp
index b2a6751..43b2787 100644
--- a/qtools/qiodevice.cpp
+++ b/qtools/qiodevice.cpp
@@ -425,8 +425,10 @@ void QIODevice::setStatus( int s )
<li>\c IO_Append sets the file index to the end of the file.
<li>\c IO_Truncate truncates the file.
<li>\c IO_Translate enables carriage returns and linefeed translation
- for text files under MS-DOS, Window, OS/2 and Macintosh. Cannot be
- combined with \c IO_Raw.
+ for text files under MS-DOS, Window, OS/2 and Macintosh. On Unix systems
+ this flag has no effect. Use with caution as it will also transform every linefeed
+ written to the file into a CRLF pair. This is likely to corrupt your file when
+ writing binary data to it. Cannot be combined with \c IO_Raw.
</ul>
This virtual function must be reimplemented by all subclasses.