[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-11-22 03:37:01 +00:00 committed by GitHub
parent 8d4eeb581f
commit d5e61de341
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,8 +52,7 @@ QTextCodec::Encoding detectCodec( QByteArray & ba, char16_t expectedFirstCharact
{ {
QStringConverter::Encoding detectedEncoding = detectEncoding( ba, expectedFirstCharacter ); QStringConverter::Encoding detectedEncoding = detectEncoding( ba, expectedFirstCharacter );
// mapping the encoding // mapping the encoding
if (encodingMap.contains( detectedEncoding ) ) if ( encodingMap.contains( detectedEncoding ) ) {
{
return encodingMap[ encoding ]; return encodingMap[ encoding ];
} }
// default utf8 // default utf8