mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 21:34:07 +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,6 +112,7 @@ void LoadDictionaries::handlePath( Config::Path const & path )
|
||||||
handlePath( Config::Path( fullName, true ) );
|
handlePath( Config::Path( fullName, true ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( !i->isDir() )
|
||||||
allFiles.push_back( FsEncoding::encode( QDir::toNativeSeparators( fullName ) ) );
|
allFiles.push_back( FsEncoding::encode( QDir::toNativeSeparators( fullName ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue