mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +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 );
|
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
|
||||||
|
|
Loading…
Reference in a new issue