Preconfigure goldendict-wordnet path (patch by Dmitry E. Oboukhov)

This commit is contained in:
Tvangeste 2013-07-18 20:14:01 +02:00
parent e4512948fc
commit af0fceb7f1

View file

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