summaryrefslogtreecommitdiffstats
path: root/tdeui/ksconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/ksconfig.cpp')
-rw-r--r--tdeui/ksconfig.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tdeui/ksconfig.cpp b/tdeui/ksconfig.cpp
index c814fec5c..cb211e4df 100644
--- a/tdeui/ksconfig.cpp
+++ b/tdeui/ksconfig.cpp
@@ -188,11 +188,7 @@ KSpellConfig::readGlobalSettings()
setDictionary ( kc->readEntry("KSpell_Dictionary") );
setDictFromList ( kc->readNumEntry("KSpell_DictFromList", false) );
setEncoding ( kc->readNumEntry ("KSpell_Encoding", KS_E_UTF8) );
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
- setClient ( kc->readNumEntry ("KSpell_Client", KS_CLIENT_ASPELL) );
-#else
- setClient ( kc->readNumEntry ("KSpell_Client", KS_CLIENT_ISPELL) );
-#endif
+ setClient ( kc->readNumEntry ("KSpell_Client", DEFAULT_SPELL_CHECKER) );
return true;
}