path: root/examples/widgets
diff options
authorLars Knoll <>2020-04-29 18:00:13 +0200
committerLars Knoll <>2020-05-14 07:51:20 +0200
commit2b8863a98c912806fd4e47bd2f2a6d81ec1d71b9 (patch)
treed0d03d309719486805cb81459401fe71aaec45c0 /examples/widgets
parentada608d46d7ab99b787e48003f8c94c1a11dab19 (diff)
Get rid of some QTextCodec leftovers
There's no real dependency to QTextCodec in those files anymore. Change-Id: Ifaf19ab554fd108fa26095db4e2bd4a3e9ea427f Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'examples/widgets')
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