From: Bernhard Scheirle Date: Fri, 19 Aug 2016 06:06:40 +0000 (+0200) Subject: Only load the `EnableSpellCheck` setting for KDE4 users. X-Git-Tag: 0.12.5~54 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b7a296f3de378ebd00128de0c285d1a1349e4f0f;hp=2065113a03502230702f41e426c37c0118f16b48 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) --- 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