mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-06 21:25:59 +00:00
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…
x
Reference in New Issue
Block a user