diff options
Diffstat (limited to 'src/webenginewidgets')
-rw-r--r-- | src/webenginewidgets/api/qwebengineprofile.cpp | 17 | ||||
-rw-r--r-- | src/webenginewidgets/api/qwebengineprofile.h | 1 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile.cpp b/src/webenginewidgets/api/qwebengineprofile.cpp index 2dab0aa08..1f5912667 100644 --- a/src/webenginewidgets/api/qwebengineprofile.cpp +++ b/src/webenginewidgets/api/qwebengineprofile.cpp @@ -558,23 +558,6 @@ QWebEngineProfile *QWebEngineProfile::defaultProfile() /*! \since 5.7 - Returns the subset of \a languages supported by the spell checker. - - Checks whether the spell checker dictionary is installed for the specified - language from the \a languages list. If the dictionary file is missing - or corrupted, the language is removed from the returned list. - - \sa setSpellCheckLanguage() -*/ -QStringList QWebEngineProfile::availableDictionaries(const QStringList &languages) -{ - const Q_D(QWebEngineProfile); - return d->browserContext()->spellCheckLanguages(languages); -} - -/*! - \since 5.7 - Sets the current \a language for the spell checker. */ void QWebEngineProfile::setSpellCheckLanguage(const QString &language) 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); |