PD: move to new style connect()

This commit is contained in:
wmayer
2023-01-15 14:27:33 +01:00
parent 6738aa8d9c
commit a122aa01a7
22 changed files with 385 additions and 304 deletions

View File

@@ -48,8 +48,8 @@ DlgActiveBody::DlgActiveBody(QWidget *parent, App::Document*& doc, const QString
{
ui->setupUi(this);
connect(ui->bodySelect, SIGNAL(itemDoubleClicked(QListWidgetItem *)),
this, SLOT(accept()));
connect(ui->bodySelect, &QListWidget::itemDoubleClicked,
this, &DlgActiveBody::accept);
if (!infoText.isEmpty()) {
ui->label->setText(infoText + QString::fromUtf8("\n\n") + tr("Please select"));