From 89cf19fdc17c594fc5b832aee42f7aefe6746487 Mon Sep 17 00:00:00 2001 From: Rudolf Grauberger Date: Sun, 13 Aug 2017 13:35:19 +0200 Subject: [PATCH] GUI: Refactor Qt Signal/Slots to the new syntax --- gui/applicationdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/applicationdialog.cpp b/gui/applicationdialog.cpp index 3d96edf3d..adcdd964c 100644 --- a/gui/applicationdialog.cpp +++ b/gui/applicationdialog.cpp @@ -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());