Import: move to new style connect()

This commit is contained in:
wmayer
2023-01-13 15:58:56 +01:00
parent 70061abf77
commit 2ff9ff02d7

View File

@@ -828,7 +828,7 @@ private:
QDialogButtonBox* btn = new QDialogButtonBox(dlg);
btn->setStandardButtons(QDialogButtonBox::Close);
QObject::connect(btn, SIGNAL(rejected()), dlg, SLOT(reject()));
QObject::connect(btn, &QDialogButtonBox::rejected, dlg, &QDialog::reject);
QHBoxLayout *boxlayout = new QHBoxLayout;
boxlayout->addWidget(btn);
layout->addLayout(boxlayout);