Replace deprecated slot

This commit is contained in:
Juergen Spitzmueller 2021-04-17 15:13:02 +02:00
parent 511ba894ff
commit eb86239e36
2 changed files with 3 additions and 3 deletions

View File

@ -409,12 +409,12 @@ void GuiSymbols::on_symbolsLW_clicked(QModelIndex const & index)
}
void GuiSymbols::on_categoryCO_activated(QString const & text)
void GuiSymbols::on_categoryCO_activated(int)
{
if (!categoryFilterCB->isChecked())
updateSymbolList(false);
else
scrollToItem(text);
scrollToItem(categoryCO->currentText());
}

View File

@ -43,7 +43,7 @@ public Q_SLOTS:
void on_buttonBox_clicked(QAbstractButton *);
void on_symbolsLW_activated(QModelIndex const & index);
void on_symbolsLW_clicked(QModelIndex const & index);
void on_categoryCO_activated(QString const & text);
void on_categoryCO_activated(int);
void on_categoryFilterCB_toggled(bool);
void on_chosenLE_returnPressed();
void on_chosenLE_textChanged(QString const &);