From 6683dc1063ecfb2f3ff9db13cc6597eb7088b367 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Sat, 9 May 2020 16:22:16 +0200 Subject: [PATCH] TextFileFormat: Fix typo in comment Change-Id: Ifdf99136d5a31dc3fe55633ec1a5d1be69f0b2af Reviewed-by: David Schulz --- src/libs/utils/textfileformat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/textfileformat.cpp b/src/libs/utils/textfileformat.cpp index 8b8a549c350..814cb0256f0 100644 --- a/src/libs/utils/textfileformat.cpp +++ b/src/libs/utils/textfileformat.cpp @@ -304,7 +304,7 @@ bool TextFileFormat::writeFile(const QString &fileName, QString plainText, QStri QTC_ASSERT(codec, return false); // Does the user want CRLF? If that is native, - // do net let QFile do the work, because it replaces the line ending after the text was encoded, + // do not let QFile do the work, because it replaces the line ending after the text was encoded, // and this could lead to undecodable file contents. QIODevice::OpenMode fileMode = QIODevice::NotOpen; if (lineTerminationMode == CRLFLineTerminator)