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:
Felix Kauselmann
2021-06-21 08:10:59 +02:00
parent 485ce1c9d8
commit a3a1e32198
8 changed files with 12 additions and 13 deletions

View File

@ -32,7 +32,7 @@ void ImportLibraryDialog::setupUI()
connect(accept, &QAbstractButton::clicked, this, &ImportLibraryDialog::add);
cancel = new QPushButton(tr("Cancel"));
connect(cancel, SIGNAL(clicked()), this, SLOT(close()));
connect(cancel, &QAbstractButton::clicked, this, &ImportLibraryDialog::close);
//connect(cancel,SIGNAL(clicked()),this,SIGNAL(rejected()));
find = new QPushButton(QIcon(":/images/find_folder.png"), "");