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: travis-deploy-test~373 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b7a5431d9528e467e48c77be6614e08e0b9eab8d 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. --- diff --git a/src/qtui/inputwidget.cpp b/src/qtui/inputwidget.cpp index a664b6af..801ac963 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