diff --git a/src/frontends/qt4/GuiSpellchecker.cpp b/src/frontends/qt4/GuiSpellchecker.cpp index 9ecb5571d2..a7147ce562 100644 --- a/src/frontends/qt4/GuiSpellchecker.cpp +++ b/src/frontends/qt4/GuiSpellchecker.cpp @@ -81,11 +81,7 @@ struct SpellcheckerWidget::Private SpellcheckerWidget::SpellcheckerWidget(GuiView * gv, QWidget * parent) -#if QT_VERSION >= 0x040600 : QTabWidget(parent), d(new Private(this)) -#else - : QWidget(parent), d(new Private(this)) -#endif { d->ui.setupUi(this); d->gv_ = gv; diff --git a/src/frontends/qt4/GuiSpellchecker.h b/src/frontends/qt4/GuiSpellchecker.h index 3445326b33..c378aaceba 100644 --- a/src/frontends/qt4/GuiSpellchecker.h +++ b/src/frontends/qt4/GuiSpellchecker.h @@ -16,6 +16,7 @@ #define GUISPELLCHECKER_H #include "DockView.h" +#include class QListWidgetItem; @@ -25,11 +26,7 @@ class docstring_list; namespace frontend { -#if QT_VERSION >= 0x040600 class SpellcheckerWidget : public QTabWidget -#else -class SpellcheckerWidget : public QWidget -#endif { Q_OBJECT