diff options
Diffstat (limited to 'examples/widgets/doc/src/application.qdoc')
-rw-r--r-- | examples/widgets/doc/src/application.qdoc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/widgets/doc/src/application.qdoc b/examples/widgets/doc/src/application.qdoc index 6c37fa67bb..ef8bc2ef64 100644 --- a/examples/widgets/doc/src/application.qdoc +++ b/examples/widgets/doc/src/application.qdoc @@ -312,9 +312,8 @@ If we successfully opened the file, we use a QTextStream object to read in the data. QTextStream automatically converts the 8-bit data into a Unicode QString and supports various encodings. If no - encoding is specified, QTextStream assumes the file is written - using the system's default 8-bit encoding (for example, Latin-1; - see QTextCodec::codecForLocale() for details). + encoding is specified, QTextStream assumes the file is encoded in + UTF-8. Since the call to QTextStream::readAll() might take some time, we set the cursor to be Qt::WaitCursor for the entire application |