Fix case of non-ASCII symbols in path for sound directories

This commit is contained in:
Abs62 2014-03-18 18:19:52 +04:00
parent dad314484c
commit ce45d3718a

View file

@ -414,7 +414,7 @@ vector< sptr< Dictionary::Class > > makeDictionaries( Config::SoundDirs const &
continue; // No such dir, no dictionary then
vector< string > dictFiles( 1,
QDir::toNativeSeparators( dir.canonicalPath() ).toLocal8Bit().data() );
FsEncoding::encode( QDir::toNativeSeparators( dir.canonicalPath() ) ) );
dictFiles.push_back( "SoundDir" ); // A mixin