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

@@ -147,10 +147,10 @@ GerritPushDialog::GerritPushDialog(const Utils::FilePath &workingDir, const QStr
}
m_ui->localBranchComboBox->init(workingDir);
connect(m_ui->localBranchComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged),
connect(m_ui->localBranchComboBox, &QComboBox::currentIndexChanged,
this, &GerritPushDialog::updateCommits);
connect(m_ui->targetBranchComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged),
connect(m_ui->targetBranchComboBox, &QComboBox::currentIndexChanged,
this, &GerritPushDialog::setChangeRange);
connect(m_ui->targetBranchComboBox, &QComboBox::currentTextChanged,