mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
parent
1e37d760e2
commit
5712f63b8e
|
@ -678,14 +678,7 @@ SlobDictionary::SlobDictionary( string const & id, string const & indexFile, vec
|
|||
idxHeader( idx.read< IdxHeader >() )
|
||||
{
|
||||
// Open data file
|
||||
|
||||
try {
|
||||
sf.open( dictionaryFiles[ 0 ].c_str() );
|
||||
}
|
||||
catch ( std::exception & e ) {
|
||||
gdWarning( "Slob dictionary initializing failed: %s, error: %s\n", dictionaryFiles[ 0 ].c_str(), e.what() );
|
||||
return;
|
||||
}
|
||||
|
||||
// Initialize the indexes
|
||||
|
||||
|
|
Loading…
Reference in a new issue