mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
Replace obsoleted signal
Since Qt 5.14 this signal is named textHighlighted.
This commit is contained in:
parent
eeb36e808c
commit
570cd84ddc
@ -56,8 +56,13 @@ GuiHSpace::GuiHSpace(bool math_mode, QWidget * parent)
|
|||||||
spacingCO->addItem(qt_("Visible Space"), "visible");
|
spacingCO->addItem(qt_("Visible Space"), "visible");
|
||||||
spacingCO->addItem(qt_("Custom"), "custom");
|
spacingCO->addItem(qt_("Custom"), "custom");
|
||||||
|
|
||||||
|
#if QT_VERSION < 0x050e00
|
||||||
connect(spacingCO, SIGNAL(highlighted(QString)),
|
connect(spacingCO, SIGNAL(highlighted(QString)),
|
||||||
this, SLOT(changedSlot()));
|
this, SLOT(changedSlot()));
|
||||||
|
#else
|
||||||
|
connect(spacingCO, SIGNAL(textHighlighted(QString)),
|
||||||
|
this, SLOT(changedSlot()));
|
||||||
|
#endif
|
||||||
connect(valueLE, SIGNAL(textChanged(QString)),
|
connect(valueLE, SIGNAL(textChanged(QString)),
|
||||||
this, SLOT(changedSlot()));
|
this, SLOT(changedSlot()));
|
||||||
connect(spacingCO, SIGNAL(activated(int)),
|
connect(spacingCO, SIGNAL(activated(int)),
|
||||||
|
Loading…
Reference in New Issue
Block a user