diff --git a/src/Editor/CErrorLogDialog.cpp b/src/Editor/CErrorLogDialog.cpp index 16000b13..8baaf539 100644 --- a/src/Editor/CErrorLogDialog.cpp +++ b/src/Editor/CErrorLogDialog.cpp @@ -8,7 +8,7 @@ CErrorLogDialog::CErrorLogDialog(QWidget *pParent) , ui(std::make_unique()) { ui->setupUi(this); - connect(ui->CloseButton, SIGNAL(clicked()), this, SLOT(close())); + connect(ui->CloseButton, &QPushButton::clicked, this, &CErrorLogDialog::close); } CErrorLogDialog::~CErrorLogDialog() = default;