mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Clazy: Use fixits to refactor some old style signal connections
This commit is contained in:
@ -69,7 +69,7 @@ BookmarksDialog::BookmarksDialog(QWidget *parent)
|
||||
|
||||
cancel = new QPushButton(tr("Close"));
|
||||
cancel->setFlat(true);
|
||||
connect(cancel, SIGNAL(clicked()), this, SLOT(hide()));
|
||||
connect(cancel, &QAbstractButton::clicked, this, &QWidget::hide);
|
||||
buttons->addStretch();
|
||||
buttons->addWidget(cancel);
|
||||
|
||||
|
Reference in New Issue
Block a user