mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
+ On Linux, add standard dictd path to the default config if it exists.
This commit is contained in:
parent
bd3563fcea
commit
55749e23c2
|
@ -84,6 +84,9 @@ Class load() throw( exError )
|
|||
if ( QDir( "/usr/share/stardict/dic" ).exists() )
|
||||
c.paths.push_back( Path( "/usr/share/stardict/dic", true ) );
|
||||
|
||||
if ( QDir( "/usr/share/dictd" ).exists() )
|
||||
c.paths.push_back( Path( "/usr/share/dictd", true ) );
|
||||
|
||||
if ( QDir( "/usr/share/WyabdcRealPeopleTTS" ).exists() )
|
||||
c.soundDirs.push_back( SoundDir( "/usr/share/WyabdcRealPeopleTTS", "WyabdcRealPeopleTTS" ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue