mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Using qOverload, removing static_cast workaround.
This commit is contained in:
@@ -35,8 +35,8 @@ namespace BlackGui
|
||||
ui->cb_SelcalPairs1->setStyleSheet("combobox-popup: 0;");
|
||||
ui->cb_SelcalPairs2->setStyleSheet("combobox-popup: 0;");
|
||||
|
||||
connect(ui->cb_SelcalPairs1, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &CSelcalCodeSelector::selcalIndexChanged);
|
||||
connect(ui->cb_SelcalPairs2, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &CSelcalCodeSelector::selcalIndexChanged);
|
||||
connect(ui->cb_SelcalPairs1, qOverload<int>(&QComboBox::currentIndexChanged), this, &CSelcalCodeSelector::selcalIndexChanged);
|
||||
connect(ui->cb_SelcalPairs2, qOverload<int>(&QComboBox::currentIndexChanged), this, &CSelcalCodeSelector::selcalIndexChanged);
|
||||
}
|
||||
|
||||
CSelcalCodeSelector::~CSelcalCodeSelector()
|
||||
|
||||
Reference in New Issue
Block a user