Image: move to new style connect()

This commit is contained in:
wmayer
2023-01-13 16:03:16 +01:00
parent f2e3507ae2
commit 23e74cb914
2 changed files with 7 additions and 7 deletions

View File

@@ -42,10 +42,10 @@ ImageOrientationDialog::ImageOrientationDialog()
ui->setupUi(this);
onPreview();
connect(ui->Reverse_checkBox, SIGNAL(clicked(bool)), this, SLOT(onPreview()));
connect(ui->XY_radioButton , SIGNAL(clicked(bool)), this, SLOT(onPreview()));
connect(ui->XZ_radioButton , SIGNAL(clicked(bool)), this, SLOT(onPreview()));
connect(ui->YZ_radioButton , SIGNAL(clicked(bool)), this, SLOT(onPreview()));
connect(ui->Reverse_checkBox, &QCheckBox::clicked, this, &ImageOrientationDialog::onPreview);
connect(ui->XY_radioButton , &QRadioButton::clicked, this, &ImageOrientationDialog::onPreview);
connect(ui->XZ_radioButton , &QRadioButton::clicked, this, &ImageOrientationDialog::onPreview);
connect(ui->YZ_radioButton , &QRadioButton::clicked, this, &ImageOrientationDialog::onPreview);
}
ImageOrientationDialog::~ImageOrientationDialog()