GUI: modernize connect in StatsDialog
This commit is contained in:
parent
ac13648d40
commit
9e234fa25c
|
@ -34,8 +34,8 @@ StatsDialog::StatsDialog(QWidget *parent)
|
||||||
{
|
{
|
||||||
mUI.setupUi(this);
|
mUI.setupUi(this);
|
||||||
|
|
||||||
connect(mUI.mCopyToClipboard, SIGNAL(pressed()), this, SLOT(copyToClipboard()));
|
connect(mUI.mCopyToClipboard, &QPushButton::pressed, this, &StatsDialog::copyToClipboard);
|
||||||
connect(mUI.mPDFexport, SIGNAL(pressed()), this, SLOT(pdfExport()));
|
connect(mUI.mPDFexport, &QPushButton::pressed, this, &StatsDialog::pdfExport);
|
||||||
}
|
}
|
||||||
|
|
||||||
void StatsDialog::setProject(const ProjectFile* projectFile)
|
void StatsDialog::setProject(const ProjectFile* projectFile)
|
||||||
|
|
Loading…
Reference in New Issue