forked from qt-creator/qt-creator
Drop Qt5: VCS: Get rid of QComboBox QOverload
Change-Id: Ib2f21f28a0ec16b817f9227c6234424001752d50 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user