mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Clazy: Use fixits to refactor some old style signal connections
This commit is contained in:
@ -21,9 +21,9 @@ void GoToDialog::setupUI()
|
||||
textLabel->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
|
||||
|
||||
accept = new QPushButton(tr("Go To"));
|
||||
connect(accept, SIGNAL(clicked()), this, SLOT(goTo()));
|
||||
connect(accept, &QAbstractButton::clicked, this, &GoToDialog::goTo);
|
||||
cancel = new QPushButton(tr("Cancel"));
|
||||
connect(cancel, SIGNAL(clicked()), this, SLOT(close()));
|
||||
connect(cancel, &QAbstractButton::clicked, this, &QWidget::close);
|
||||
|
||||
auto topLayout = new QHBoxLayout;
|
||||
|
||||
|
Reference in New Issue
Block a user