mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
Don't treat folders with recognized dictionary extensions as dictionaries
For example, it makes no sense trying to initialize Test.dsl folder as DSL dictionary.
This commit is contained in:
parent
c7b04526d2
commit
eb6ddfe5e4
|
@ -112,7 +112,8 @@ void LoadDictionaries::handlePath( Config::Path const & path )
|
||||||
handlePath( Config::Path( fullName, true ) );
|
handlePath( Config::Path( fullName, true ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
allFiles.push_back( FsEncoding::encode( QDir::toNativeSeparators( fullName ) ) );
|
if ( !i->isDir() )
|
||||||
|
allFiles.push_back( FsEncoding::encode( QDir::toNativeSeparators( fullName ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue