X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Finputwidget.cpp;h=d95f01a3635811a8d1526135bea84b92deaf4cf6;hb=680565f39c50f27cc339cb3e96bbd0abc6f47144;hp=1ac3db058fac3e3e1775508bb768d1de9bdc34e3;hpb=c52a94cb937654bf06d5074bf0736a52ec94a52d;p=quassel.git diff --git a/src/qtui/inputwidget.cpp b/src/qtui/inputwidget.cpp index 1ac3db05..d95f01a3 100644 --- a/src/qtui/inputwidget.cpp +++ b/src/qtui/inputwidget.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2016 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_KDE4 +#ifdef HAVE_KDE s.notify("EnableSpellCheck", this, SLOT(setEnableSpellCheck(QVariant))); setEnableSpellCheck(s.value("EnableSpellCheck", false)); #endif @@ -505,7 +505,7 @@ void InputWidget::onTextEntered(const QString &text) fmt.clearBackground(); inputLine()->setCurrentCharFormat(fmt); -#ifdef HAVE_KDE4 +#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);