@ -603,6 +603,9 @@ KSpellConfig::fillDicts( TQComboBox* box, TQStringList* dictionaries )
box - > insertItem ( i18n ( " ISpell Default " ) ) ;
box - > insertItem ( i18n ( " ISpell Default " ) ) ;
// dictionary path
// dictionary path
# ifdef ISPELL_LIBDIR
TQFileInfo dir ( ISPELL_LIBDIR ) ;
# else
TQFileInfo dir ( " /usr/lib/ispell " ) ;
TQFileInfo dir ( " /usr/lib/ispell " ) ;
if ( ! dir . exists ( ) | | ! dir . isDir ( ) )
if ( ! dir . exists ( ) | | ! dir . isDir ( ) )
dir . setFile ( " /usr/local/lib/ispell " ) ;
dir . setFile ( " /usr/local/lib/ispell " ) ;
@ -617,6 +620,7 @@ KSpellConfig::fillDicts( TQComboBox* box, TQStringList* dictionaries )
if ( ! dir . exists ( ) | | ! dir . isDir ( ) )
if ( ! dir . exists ( ) | | ! dir . isDir ( ) )
dir . setFile ( " /usr/local/lib " ) ;
dir . setFile ( " /usr/local/lib " ) ;
*/
*/
# endif
if ( ! dir . exists ( ) | | ! dir . isDir ( ) ) return ;
if ( ! dir . exists ( ) | | ! dir . isDir ( ) ) return ;
kdDebug ( 750 ) < < " KSpellConfig::getAvailDictsIspell "
kdDebug ( 750 ) < < " KSpellConfig::getAvailDictsIspell "