From 2b2150302283f6751ffd33e518893cc0da3170cb Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 4 Apr 2011 07:47:21 +0000 Subject: [PATCH] Better compile fix from Vincent git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38238 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiSpellchecker.cpp | 4 ---- src/frontends/qt4/GuiSpellchecker.h | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) 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