Skip to content

Commit 89cf19f

Browse files
rudolfgraubergerdanmar
authored andcommitted
GUI: Refactor Qt Signal/Slots to the new syntax
1 parent 3e7f4c2 commit 89cf19f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/applicationdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ApplicationDialog::ApplicationDialog(const QString &title,
3434
{
3535
mUI.setupUi(this);
3636

37-
connect(mUI.mButtonBrowse, SIGNAL(clicked()), this, SLOT(browse()));
37+
connect(mUI.mButtonBrowse, &QPushButton::clicked, this, &ApplicationDialog::browse);
3838
connect(mUI.mButtons, &QDialogButtonBox::accepted, this, &ApplicationDialog::ok);
3939
connect(mUI.mButtons, &QDialogButtonBox::rejected, this, &ApplicationDialog::reject);
4040
mUI.mPath->setText(app.getPath());

0 commit comments

Comments
 (0)