motion touch ui: move remaining connection out of .ui file
Two reasons for this: 1. Out of 7 connections, 6 are in ConfigureMotionTouch::ConnectEvents, this is the outlier. 2. Qt6 doesn't moc the connection properly
This commit is contained in:
parent
50ea1827aa
commit
0c16589562
2 changed files with 3 additions and 18 deletions
|
@ -151,6 +151,8 @@ void ConfigureMotionTouch::ConnectEvents() {
|
|||
&ConfigureMotionTouch::OnConfigureTouchCalibration);
|
||||
connect(ui->touch_from_button_config_btn, &QPushButton::clicked, this,
|
||||
&ConfigureMotionTouch::OnConfigureTouchFromButton);
|
||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, this,
|
||||
&ConfigureMotionTouch::ApplyConfiguration);
|
||||
connect(ui->buttonBox, &QDialogButtonBox::rejected, this, [this] {
|
||||
if (CanCloseDialog()) {
|
||||
reject();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue