From 55749e23c251a9bf48e51c9fde0b01f584e7fbaf Mon Sep 17 00:00:00 2001 From: Konstantin Isakov Date: Thu, 9 Apr 2009 19:03:28 +0000 Subject: [PATCH] + On Linux, add standard dictd path to the default config if it exists. --- src/config.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config.cc b/src/config.cc index e5ea1099..ff93ef9d 100644 --- a/src/config.cc +++ b/src/config.cc @@ -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" ) );