+ On Linux, add standard dictd path to the default config if it exists.

This commit is contained in:
Konstantin Isakov 2009-04-09 19:03:28 +00:00
parent bd3563fcea
commit 55749e23c2

View file

@ -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" ) );