mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
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:
parent
7711789332
commit
e30ca93785
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user