Rename HAVE_KDE define to HAVE_KDE4
[quassel.git] / src / qtui / inputwidget.cpp
index 7d3b3e0..1ac3db0 100644 (file)
@@ -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
@@ -505,7 +505,7 @@ void InputWidget::onTextEntered(const QString &text)
     fmt.clearBackground();
     inputLine()->setCurrentCharFormat(fmt);
 
-#ifdef HAVE_KDE
+#ifdef HAVE_KDE4
     // Set highlighter back to active in case it was deactivated by too many errors.
     if (ui.inputEdit->highlighter())
         ui.inputEdit->highlighter()->setActive(true);