Better compile fix from Vincent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38238 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-04-04 07:47:21 +00:00
parent 61e0f0e284
commit 2b21503022
2 changed files with 1 additions and 8 deletions

View File

@ -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;

View File

@ -16,6 +16,7 @@
#define GUISPELLCHECKER_H
#include "DockView.h"
#include <QTabWidget>
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