mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 19:12:11 +01:00
Fix setting spellcheck languages
This commit is contained in:
parent
e18d2d90bd
commit
8e55c3ad3c
|
@ -918,7 +918,7 @@ void MainApplication::loadSettings()
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
|
||||||
settings.beginGroup(QSL("SpellCheck"));
|
settings.beginGroup(QSL("SpellCheck"));
|
||||||
profile->setSpellCheckEnabled(settings.value(QSL("Enabled"), false).toBool());
|
profile->setSpellCheckEnabled(settings.value(QSL("Enabled"), false).toBool());
|
||||||
profile->setSpellCheckLanguages({settings.value(QSL("Language"), QString()).toString()});
|
profile->setSpellCheckLanguages(settings.value(QSL("Languages")).toStringList());
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user