/***************************************************************************
- * Copyright (C) 2005-2014 by the Quassel Project *
+ * Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "inputwidget.h"
+#include <QIcon>
+
#include "action.h"
#include "actioncollection.h"
#include "bufferview.h"
#include "client.h"
-#include "iconloader.h"
#include "ircuser.h"
#include "networkmodel.h"
#include "qtui.h"
UiSettings s("InputWidget");
-#ifdef HAVE_KDE
+#ifdef HAVE_KDE4
s.notify("EnableSpellCheck", this, SLOT(setEnableSpellCheck(QVariant)));
setEnableSpellCheck(s.value("EnableSpellCheck", false));
#endif
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
}