1
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:
David Rosca 2017-01-27 22:46:30 +01:00
parent e18d2d90bd
commit 8e55c3ad3c

View File

@ -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