1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Fix build with latest QtWebEngine

This commit is contained in:
David Rosca 2016-12-01 21:54:49 +01:00
parent 4657fdf60c
commit f0c52c4a85

View File

@ -897,7 +897,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->setSpellCheckLanguage(settings.value(QSL("Language"), QString()).toString()); profile->setSpellCheckLanguages({settings.value(QSL("Language"), QString()).toString()});
settings.endGroup(); settings.endGroup();
#endif #endif