mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +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() )
|
if ( QDir( "/usr/share/dictd" ).exists() )
|
||||||
c.paths.push_back( Path( "/usr/share/dictd", true ) );
|
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() )
|
if ( QDir( "/usr/share/WyabdcRealPeopleTTS" ).exists() )
|
||||||
c.soundDirs.push_back( SoundDir( "/usr/share/WyabdcRealPeopleTTS", "WyabdcRealPeopleTTS" ) );
|
c.soundDirs.push_back( SoundDir( "/usr/share/WyabdcRealPeopleTTS", "WyabdcRealPeopleTTS" ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue