Review Request: make Speller::spellCheckerFound() return true when the dict for the current language is found (important when there was no dict for default language)

Nick Shaforostoff shafff at
Wed Jan 18 17:35:17 GMT 2012

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs.


right now in cases when the dictionary for default language cannot be found Speller::spellCheckerFound() always returns false, even after a langcode for the existing dictionary is passed via setCurrentLanguage().

This patch sets spellCheckerFound to true if the dict is found for the language being set, and false in another case.
Actually, the patch makes spellCheckerFound just a cached value of d->dict->isValid().

in the bug 256896 you can find users reporting this problem in addition to another one (regarding using 'language_COUNTRY' dictionaries when only 'language' is specified)

This addresses bug 256896.


  kdeui/sonnet/highlighter.cpp 3f478f0 




Nick Shaforostoff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list