mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Fix case of non-ASCII symbols in path for sound directories
This commit is contained in:
parent
dad314484c
commit
ce45d3718a
|
@ -414,7 +414,7 @@ vector< sptr< Dictionary::Class > > makeDictionaries( Config::SoundDirs const &
|
||||||
continue; // No such dir, no dictionary then
|
continue; // No such dir, no dictionary then
|
||||||
|
|
||||||
vector< string > dictFiles( 1,
|
vector< string > dictFiles( 1,
|
||||||
QDir::toNativeSeparators( dir.canonicalPath() ).toLocal8Bit().data() );
|
FsEncoding::encode( QDir::toNativeSeparators( dir.canonicalPath() ) ) );
|
||||||
|
|
||||||
dictFiles.push_back( "SoundDir" ); // A mixin
|
dictFiles.push_back( "SoundDir" ); // A mixin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue