mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
61e0f0e284
commit
2b21503022
@ -81,11 +81,7 @@ struct SpellcheckerWidget::Private
|
|||||||
|
|
||||||
|
|
||||||
SpellcheckerWidget::SpellcheckerWidget(GuiView * gv, QWidget * parent)
|
SpellcheckerWidget::SpellcheckerWidget(GuiView * gv, QWidget * parent)
|
||||||
#if QT_VERSION >= 0x040600
|
|
||||||
: QTabWidget(parent), d(new Private(this))
|
: QTabWidget(parent), d(new Private(this))
|
||||||
#else
|
|
||||||
: QWidget(parent), d(new Private(this))
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
d->ui.setupUi(this);
|
d->ui.setupUi(this);
|
||||||
d->gv_ = gv;
|
d->gv_ = gv;
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#define GUISPELLCHECKER_H
|
#define GUISPELLCHECKER_H
|
||||||
|
|
||||||
#include "DockView.h"
|
#include "DockView.h"
|
||||||
|
#include <QTabWidget>
|
||||||
|
|
||||||
class QListWidgetItem;
|
class QListWidgetItem;
|
||||||
|
|
||||||
@ -25,11 +26,7 @@ class docstring_list;
|
|||||||
|
|
||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
#if QT_VERSION >= 0x040600
|
|
||||||
class SpellcheckerWidget : public QTabWidget
|
class SpellcheckerWidget : public QTabWidget
|
||||||
#else
|
|
||||||
class SpellcheckerWidget : public QWidget
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user