Qt: Fix build

This commit is contained in:
Vicki Pfau 2022-02-10 14:43:48 -08:00
parent 006beb0704
commit 33792b20f8
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,9 @@ GDBWindow::GDBWindow(GDBController* controller, QWidget* parent)
watchpointsSettings->setLayout(watchpointsSettingsLayout);
QButtonGroup* watchpointsButtonGroup = new QButtonGroup(watchpointsSettings);
connect(watchpointsButtonGroup, &QButtonGroup::idClicked, controller, &GDBController::setWatchpointsBehavior);
connect(watchpointsButtonGroup, qOverload<QAbstractButton*>(&QButtonGroup::buttonClicked), controller, [watchpointsButtonGroup, controller](QAbstractButton* button) {
controller->setWatchpointsBehavior(watchpointsButtonGroup->id(button));
});
m_watchpointsStandardRadio = new QRadioButton(tr("Standard GDB"), watchpointsSettings);
m_watchpointsStandardRadio->setChecked(true);