From ea953981230393cf9955f010550facbd5e3a3429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 31 Jul 2017 10:16:23 +0200 Subject: [PATCH] GUI: modernize connect in AboutDialog --- gui/aboutdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/aboutdialog.cpp b/gui/aboutdialog.cpp index 3f9fb91b7..561910b16 100644 --- a/gui/aboutdialog.cpp +++ b/gui/aboutdialog.cpp @@ -33,5 +33,5 @@ AboutDialog::AboutDialog(const QString &version, const QString &extraVersion, QW mUI.mVersion->setText(mUI.mVersion->text().arg(fmtVersion)); QString url = "http://cppcheck.net/"; mUI.mHomepage->setText(mUI.mHomepage->text().arg(url)); - connect(mUI.mButtons, SIGNAL(accepted()), this, SLOT(accept())); + connect(mUI.mButtons, &QDialogButtonBox::accepted, this, &AboutDialog::accept); }