mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Replace obsoleted signal
This has been obsoleted in Qt5 and dropped in Qt6
This commit is contained in:
parent
52dff70641
commit
2c553df178
@ -269,10 +269,10 @@ string const FloatPlacement::getAlignment() const
|
||||
}
|
||||
|
||||
|
||||
void FloatPlacement::on_placementCO_currentIndexChanged(QString const & text)
|
||||
void FloatPlacement::on_placementCO_currentIndexChanged(int index)
|
||||
{
|
||||
checkAllowed();
|
||||
if (text != "custom")
|
||||
if (placementCO->itemText(index) != "custom")
|
||||
return;
|
||||
if (topCB->isChecked() || bottomCB->isChecked()
|
||||
|| pageCB->isChecked() || herepossiblyCB->isChecked()
|
||||
|
@ -54,7 +54,7 @@ public:
|
||||
std::string const getAlignment() const;
|
||||
|
||||
private Q_SLOTS:
|
||||
void on_placementCO_currentIndexChanged(QString const &);
|
||||
void on_placementCO_currentIndexChanged(int);
|
||||
void changedSlot();
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user