Temporary fix for compile errors on older Qt's (cf #7375)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38235 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-04-03 19:21:28 +00:00
parent 7711789332
commit e30ca93785
2 changed files with 8 additions and 0 deletions

View File

@ -81,7 +81,11 @@ 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;

View File

@ -25,7 +25,11 @@ class docstring_list;
namespace frontend {
#if QT_VERSION >= 0x040600
class SpellcheckerWidget : public QTabWidget
#else
class SpellcheckerWidget : public QWidget
#endif
{
Q_OBJECT