mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Preconfigure goldendict-wordnet path (patch by Dmitry E. Oboukhov)
This commit is contained in:
parent
e4512948fc
commit
af0fceb7f1
|
@ -308,6 +308,9 @@ Class load() throw( exError )
|
|||
if ( QDir( "/usr/share/dictd" ).exists() )
|
||||
c.paths.push_back( Path( "/usr/share/dictd", true ) );
|
||||
|
||||
if ( QDir( "/usr/share/goldendict-wordnet" ).exists() )
|
||||
c.paths.push_back( Path( "/usr/share/goldendict-wordnet", true ) );
|
||||
|
||||
if ( QDir( "/usr/share/WyabdcRealPeopleTTS" ).exists() )
|
||||
c.soundDirs.push_back( SoundDir( "/usr/share/WyabdcRealPeopleTTS", "WyabdcRealPeopleTTS" ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue