From 2b8863a98c912806fd4e47bd2f2a6d81ec1d71b9 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 29 Apr 2020 18:00:13 +0200 Subject: Get rid of some QTextCodec leftovers There's no real dependency to QTextCodec in those files anymore. Change-Id: Ifaf19ab554fd108fa26095db4e2bd4a3e9ea427f Reviewed-by: Thiago Macieira --- examples/widgets/doc/src/application.qdoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'examples/widgets') 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 -- cgit v1.2.3