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:
@ -17,14 +17,14 @@ ExportComicsInfoDialog::ExportComicsInfoDialog(QWidget *parent)
|
||||
|
||||
accept = new QPushButton(tr("Create"));
|
||||
accept->setDisabled(true);
|
||||
connect(accept, SIGNAL(clicked()), this, SLOT(exportComicsInfo()));
|
||||
connect(accept, &QAbstractButton::clicked, this, &ExportComicsInfoDialog::exportComicsInfo);
|
||||
|
||||
cancel = new QPushButton(tr("Cancel"));
|
||||
connect(cancel, SIGNAL(clicked()), this, SLOT(close()));
|
||||
connect(cancel, SIGNAL(clicked()), this, SIGNAL(rejected()));
|
||||
connect(cancel, &QAbstractButton::clicked, this, &QDialog::rejected);
|
||||
|
||||
find = new QPushButton(QIcon(":/images/find_folder.png"), "");
|
||||
connect(find, SIGNAL(clicked()), this, SLOT(findPath()));
|
||||
connect(find, &QAbstractButton::clicked, this, &ExportComicsInfoDialog::findPath);
|
||||
|
||||
auto libraryLayout = new QHBoxLayout;
|
||||
|
||||
|
Reference in New Issue
Block a user