From 0bf8a13a4d0391339bae686e199fb922b64a1dcc Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Thu, 28 Apr 2016 19:20:33 +0200 Subject: 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 --- src/webenginewidgets/api/qwebengineprofile.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/webenginewidgets/api/qwebengineprofile.h') diff --git a/src/webenginewidgets/api/qwebengineprofile.h b/src/webenginewidgets/api/qwebengineprofile.h index 9c473eee9..868b4b0f5 100644 --- a/src/webenginewidgets/api/qwebengineprofile.h +++ b/src/webenginewidgets/api/qwebengineprofile.h @@ -121,7 +121,6 @@ public: void clearHttpCache(); - QStringList availableDictionaries(const QStringList &languages); void setSpellCheckLanguage(const QString &language); QString spellCheckLanguage() const; void setSpellCheckEnabled(bool enabled); -- cgit v1.2.1