From d5e61de341f7d4c70385dba775a153031253fe18 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 03:37:01 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/common/utils.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/utils.cc b/src/common/utils.cc index 4a2569aa..46e99b4c 100644 --- a/src/common/utils.cc +++ b/src/common/utils.cc @@ -52,8 +52,7 @@ QTextCodec::Encoding detectCodec( QByteArray & ba, char16_t expectedFirstCharact { QStringConverter::Encoding detectedEncoding = detectEncoding( ba, expectedFirstCharacter ); // mapping the encoding - if (encodingMap.contains( detectedEncoding ) ) - { + if ( encodingMap.contains( detectedEncoding ) ) { return encodingMap[ encoding ]; } // default utf8