We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea95398 commit 4986ffaCopy full SHA for 4986ffa
1 file changed
gui/applicationdialog.cpp
@@ -35,8 +35,8 @@ ApplicationDialog::ApplicationDialog(const QString &title,
35
mUI.setupUi(this);
36
37
connect(mUI.mButtonBrowse, SIGNAL(clicked()), this, SLOT(browse()));
38
- connect(mUI.mButtons, SIGNAL(accepted()), this, SLOT(ok()));
39
- connect(mUI.mButtons, SIGNAL(rejected()), this, SLOT(reject()));
+ connect(mUI.mButtons, &QDialogButtonBox::accepted, this, &ApplicationDialog::ok);
+ connect(mUI.mButtons, &QDialogButtonBox::rejected, this, &ApplicationDialog::reject);
40
mUI.mPath->setText(app.getPath());
41
mUI.mName->setText(app.getName());
42
mUI.mParameters->setText(app.getParameters());
0 commit comments