CErrorLogDialog: Make use of Qt 5 signals and slots
This commit is contained in:
parent
21d83d43ee
commit
4aaf59be1a
|
@ -8,7 +8,7 @@ CErrorLogDialog::CErrorLogDialog(QWidget *pParent)
|
||||||
, ui(std::make_unique<Ui::CErrorLogDialog>())
|
, ui(std::make_unique<Ui::CErrorLogDialog>())
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
connect(ui->CloseButton, SIGNAL(clicked()), this, SLOT(close()));
|
connect(ui->CloseButton, &QPushButton::clicked, this, &CErrorLogDialog::close);
|
||||||
}
|
}
|
||||||
|
|
||||||
CErrorLogDialog::~CErrorLogDialog() = default;
|
CErrorLogDialog::~CErrorLogDialog() = default;
|
||||||
|
|
Loading…
Reference in New Issue