Check if spelling supported by QWebEngineProfile (version 5.8 or higher)

This commit is contained in:
Michal Siedlaczek 2017-08-19 11:15:15 -07:00
parent 95592770a7
commit e61e6b124e
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,6 @@ astroid==1.5.3
certifi==2017.7.27.1 certifi==2017.7.27.1
chardet==3.0.4 chardet==3.0.4
github3.py==0.9.6 github3.py==0.9.6
idna==2.6
isort==4.2.15 isort==4.2.15
lazy-object-proxy==1.3.1 lazy-object-proxy==1.3.1
mccabe==0.6.1 mccabe==0.6.1

View File

@ -133,7 +133,8 @@ class DictionaryLanguageSetter(DefaultProfileSetter):
"""Sets paths to dictionary files based on language codes.""" """Sets paths to dictionary files based on language codes."""
def __init__(self): def __init__(self):
super().__init__('setSpellCheckLanguages') super().__init__('setSpellCheckLanguages', default=[],
min_version='5.8')
def _set(self, value, settings=None): def _set(self, value, settings=None):
if settings is not None: if settings is not None: