mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Clazy: Use fixits to refactor some old style signal connections
This commit is contained in:
@ -18,7 +18,7 @@ ShortcutsDialog::ShortcutsDialog(QWidget *parent)
|
||||
auto mainLayout = new QVBoxLayout;
|
||||
|
||||
close = new QPushButton(tr("Close"));
|
||||
connect(close, SIGNAL(clicked()), this, SLOT(close()));
|
||||
connect(close, &QAbstractButton::clicked, this, &QWidget::close);
|
||||
|
||||
auto bottomLayout = new QHBoxLayout;
|
||||
bottomLayout->addStretch();
|
||||
|
Reference in New Issue
Block a user