diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2016-04-28 19:20:33 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2016-05-04 08:38:09 +0000 |
commit | 0bf8a13a4d0391339bae686e199fb922b64a1dcc (patch) | |
tree | 1a5e0f3a6009cd819510e7a7b11bb2bd34ad11bb /src/core/browser_context_adapter.cpp | |
parent | 194c357aef23bf28befe1d51b343b5ac0683f728 (diff) |
Remove availableDictionaries from spellcheck api
This method is broken, since SpellcheckerService
is lazily initialized and dictionaries might
be not loaded yet. Moreover there is a missing
implementation on mac. Instead log warning
when SpellcheckService can not load dictionary.
Change-Id: Ifa2e769d83307543fa6cdf529475e9ab980022f0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/browser_context_adapter.cpp')
-rw-r--r-- | src/core/browser_context_adapter.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/browser_context_adapter.cpp b/src/core/browser_context_adapter.cpp index e0f933562..fe667c570 100644 --- a/src/core/browser_context_adapter.cpp +++ b/src/core/browser_context_adapter.cpp @@ -466,15 +466,6 @@ void BrowserContextAdapter::clearHttpCache() m_browserContext->url_request_getter_->clearHttpCache(); } -QStringList BrowserContextAdapter::spellCheckLanguages(const QStringList &acceptLanguages) -{ -#if defined(ENABLE_SPELLCHECK) - return m_browserContext->spellCheckLanguages(acceptLanguages); -#else - return QStringList(); -#endif -} - void BrowserContextAdapter::setSpellCheckLanguage(const QString &language) { #if defined(ENABLE_SPELLCHECK) |