From b7a296f3de378ebd00128de0c285d1a1349e4f0f Mon Sep 17 00:00:00 2001 From: Bernhard Scheirle Date: Fri, 19 Aug 2016 08:06:40 +0200 Subject: [PATCH] Only load the `EnableSpellCheck` setting for KDE4 users. Others either have no spell checking at all or use KF5 Sonnet with its own settings / settings page. Resolves GH-242. (cherry picked from commit b7a5431d9528e467e48c77be6614e08e0b9eab8d) --- src/qtui/inputwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtui/inputwidget.cpp b/src/qtui/inputwidget.cpp index e68e2434..30022bdc 100644 --- a/src/qtui/inputwidget.cpp +++ b/src/qtui/inputwidget.cpp @@ -101,7 +101,7 @@ InputWidget::InputWidget(QWidget *parent) UiSettings s("InputWidget"); -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 s.notify("EnableSpellCheck", this, SLOT(setEnableSpellCheck(QVariant))); setEnableSpellCheck(s.value("EnableSpellCheck", false)); #endif -- 2.20.1