X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Finputwidget.cpp;h=7c0b7504fa38a9b1a85b950c2603365b3ae3d268;hb=35ca85f1c4371ee28d00d5ff0195a5b44aadb299;hp=09378ccbc5940790adcadc995dece66b61f58334;hpb=f3d6f8088d8be6af9319a99fb8d2fee2837b540a;p=quassel.git diff --git a/src/qtui/inputwidget.cpp b/src/qtui/inputwidget.cpp index 09378ccb..7c0b7504 100644 --- a/src/qtui/inputwidget.cpp +++ b/src/qtui/inputwidget.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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 @@ -504,12 +504,6 @@ void InputWidget::onTextEntered(const QString &text) fmt.clearForeground(); fmt.clearBackground(); inputLine()->setCurrentCharFormat(fmt); - -#ifdef HAVE_KDE - // Set highlighter back to active in case it was deactivated by too many errors. - if (ui.inputEdit->highlighter()) - ui.inputEdit->highlighter()->setActive(true); -#endif }