From 9e234fa25c3bae9c4ba75f71579d29b88c954858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 31 Jul 2017 13:55:47 +0200 Subject: [PATCH] GUI: modernize connect in StatsDialog --- gui/statsdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/statsdialog.cpp b/gui/statsdialog.cpp index 53a87be72..c46217213 100644 --- a/gui/statsdialog.cpp +++ b/gui/statsdialog.cpp @@ -34,8 +34,8 @@ StatsDialog::StatsDialog(QWidget *parent) { mUI.setupUi(this); - connect(mUI.mCopyToClipboard, SIGNAL(pressed()), this, SLOT(copyToClipboard())); - connect(mUI.mPDFexport, SIGNAL(pressed()), this, SLOT(pdfExport())); + connect(mUI.mCopyToClipboard, &QPushButton::pressed, this, &StatsDialog::copyToClipboard); + connect(mUI.mPDFexport, &QPushButton::pressed, this, &StatsDialog::pdfExport); } void StatsDialog::setProject(const ProjectFile* projectFile)