Drop Qt5: VCS: Get rid of QComboBox QOverload

Change-Id: Ib2f21f28a0ec16b817f9227c6234424001752d50
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2022-07-19 22:57:37 +02:00
parent ae9a330344
commit 60a5f77ef2
8 changed files with 15 additions and 20 deletions

View File

@@ -286,7 +286,7 @@ void SubmitFieldWidget::createField(const QString &f)
if (d->completer)
fe.lineEdit->setCompleter(d->completer);
connect(fe.combo, QOverload<int>::of(&QComboBox::currentIndexChanged),
connect(fe.combo, &QComboBox::currentIndexChanged,
this, &SubmitFieldWidget::slotComboIndexChanged);
connect(fe.clearButton, &QAbstractButton::clicked,
this, &SubmitFieldWidget::slotRemove);