GUI: Refactor Qt Signal/Slots to the new syntax
This commit is contained in:
parent
3e7f4c214d
commit
89cf19fdc1
|
@ -34,7 +34,7 @@ ApplicationDialog::ApplicationDialog(const QString &title,
|
|||
{
|
||||
mUI.setupUi(this);
|
||||
|
||||
connect(mUI.mButtonBrowse, SIGNAL(clicked()), this, SLOT(browse()));
|
||||
connect(mUI.mButtonBrowse, &QPushButton::clicked, this, &ApplicationDialog::browse);
|
||||
connect(mUI.mButtons, &QDialogButtonBox::accepted, this, &ApplicationDialog::ok);
|
||||
connect(mUI.mButtons, &QDialogButtonBox::rejected, this, &ApplicationDialog::reject);
|
||||
mUI.mPath->setText(app.getPath());
|
||||
|
|
Loading…
Reference in New Issue