From f0c52c4a8551828db82656d0d3af26d09d9fdc51 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 1 Dec 2016 21:54:49 +0100 Subject: [PATCH] Fix build with latest QtWebEngine --- src/lib/app/mainapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index d553c7578..b5570bd4f 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -897,7 +897,7 @@ void MainApplication::loadSettings() #if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0) settings.beginGroup(QSL("SpellCheck")); 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(); #endif