mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
New slot syntax: Manually convert leftover QButtons
There is a bunch of QButton and similar widget connnections which cannot be converted to new slot syntax automatically. Fix them by hand and bundle them for testing.
This commit is contained in:
@ -17,7 +17,7 @@ ExportLibraryDialog::ExportLibraryDialog(QWidget *parent)
|
||||
connect(accept, &QAbstractButton::clicked, this, &ExportLibraryDialog::exportLibrary);
|
||||
|
||||
cancel = new QPushButton(tr("Cancel"));
|
||||
connect(cancel, SIGNAL(clicked()), this, SLOT(close()));
|
||||
connect(cancel, &QAbstractButton::clicked, this, &ExportLibraryDialog::close);
|
||||
connect(cancel, &QAbstractButton::clicked, this, &QDialog::rejected);
|
||||
|
||||
find = new QPushButton(QIcon(":/images/find_folder.png"), "");
|
||||
|
Reference in New Issue
Block a user