Revert "Use QComboBox::currentTextChanged instead of currentIndexChanged"

This reverts commit 25f9d9c434.

The deprecation was reverted in qtbase 298f750cdba2bd15e735a47ba8d3b9c093367ba3.

Change-Id: I8a05f038be4b7fc89e05830435e08c3212e4f116
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2019-07-16 13:03:51 +00:00
parent 700c88418c
commit 90c6bc578f
5 changed files with 8 additions and 5 deletions

View File

@@ -364,7 +364,8 @@ QWidget *FontSettingsPage::widget()
connect(d_ptr->m_ui->fontComboBox, &QFontComboBox::currentFontChanged,
this, &FontSettingsPage::fontSelected);
connect(d_ptr->m_ui->sizeComboBox, &QComboBox::currentTextChanged,
connect(d_ptr->m_ui->sizeComboBox,
QOverload<const QString &>::of(&QComboBox::currentIndexChanged),
this, &FontSettingsPage::fontSizeSelected);
connect(d_ptr->m_ui->zoomSpinBox, QOverload<int>::of(&QSpinBox::valueChanged),
this, &FontSettingsPage::fontZoomChanged);