mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 16:04:06 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
8d4eeb581f
commit
d5e61de341
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue